X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-reply.c;h=86e9b3a29b1048b3371b734097cf49477656a2ac;hp=d2fc6d9213c32b6cb6711c32795b12534a7d62fb;hb=93dcc3b695e19dd36cc8f638c6e01ecbbd9a447d;hpb=8f9bd26e6237a766499bcfc6cbdcad88d4e159b4 diff --git a/notmuch-reply.c b/notmuch-reply.c index d2fc6d92..86e9b3a2 100644 --- a/notmuch-reply.c +++ b/notmuch-reply.c @@ -211,7 +211,7 @@ notmuch_reply_command (void *ctx, int argc, char *argv[]) return 1; } - for (messages = notmuch_query_search_messages (query); + for (messages = notmuch_query_search_messages (query, 0, -1); notmuch_messages_has_more (messages); notmuch_messages_advance (messages)) { @@ -251,6 +251,9 @@ notmuch_reply_command (void *ctx, int argc, char *argv[]) g_mime_object_set_header (GMIME_OBJECT (reply), "From", from_addr); + g_mime_object_set_header (GMIME_OBJECT (reply), "Bcc", + notmuch_config_get_user_primary_email (config)); + in_reply_to = talloc_asprintf (ctx, "<%s>", notmuch_message_get_message_id (message));