aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-reply.c
diff options
context:
space:
mode:
Diffstat (limited to 'notmuch-reply.c')
-rw-r--r--notmuch-reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-reply.c b/notmuch-reply.c
index d734de39..4a4a782b 100644
--- a/notmuch-reply.c
+++ b/notmuch-reply.c
@@ -236,7 +236,7 @@ notmuch_reply_command (void *ctx, int argc, char *argv[])
recipients = notmuch_message_get_header (message,
reply_to_map[i].header);
- if (recipients == NULL && reply_to_map[i].fallback)
+ if ((recipients == NULL || recipients[0] == '\0') && reply_to_map[i].fallback)
recipients = notmuch_message_get_header (message,
reply_to_map[i].fallback);