X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-reply.c;h=4a4a782b1636a269aa505f8b560f06eaa2cd337c;hp=d734de39c1da5be3b91b214d05d72b7e76ea9f3c;hb=6b135cae1e6e29a5ce8d8acb0cde2b50628ab8f1;hpb=dac31c9e01a18130f141994c98a48800cdb03efa 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);