X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-reply.c;h=8eb4754deb3583c2f9cc809615f97381cbfcd493;hp=3798d60ed118c080e436afd6e1508270f7aa063b;hb=8d4fa40beccde5ec879cc05341e45b18a6cf9e0f;hpb=4563f669ca672489017b5de319d447bb1f6ee26f diff --git a/notmuch-reply.c b/notmuch-reply.c index 3798d60e..8eb4754d 100644 --- a/notmuch-reply.c +++ b/notmuch-reply.c @@ -383,7 +383,7 @@ notmuch_reply_format_default(void *ctx, notmuch_config_t *config, notmuch_query_ if (from_addr == NULL) from_addr = guess_from_received_header (config, message); - if (from_addr == NULL) { + if (from_addr == NULL) from_addr = notmuch_config_get_user_primary_email (config); from_addr = talloc_asprintf (ctx, "%s <%s>",