about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--lib/format/format.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/format/format.go b/lib/format/format.go
index a070bc9..53d93aa 100644
--- a/lib/format/format.go
+++ b/lib/format/format.go
@@ -125,7 +125,7 @@ func ParseMessageFormat(
 			addr := msg.Envelope.From[0]
 			var val string
 
-			if addr.Name == accountFromAddress.Name {
+			if addr.Name == accountFromAddress.Name && len(msg.Envelope.To) != 0 {
 				addr = msg.Envelope.To[0]
 			}