From: Jani Nikula Date: Sat, 14 Jan 2012 21:49:50 +0000 (+0200) Subject: cli: pick the user's address in a group list as from address X-Git-Tag: debian/0.12_rc1-1~203 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=982096d79df8d47ac62d9a74fa0a9baa9c008812;p=notmuch.git cli: pick the user's address in a group list as from address Messages received to a group list were not replied to using the from address in the list. Fix it. Signed-off-by: Jani Nikula --- diff --git a/notmuch-reply.c b/notmuch-reply.c index da3accea..0f682db4 100644 --- a/notmuch-reply.c +++ b/notmuch-reply.c @@ -203,7 +203,7 @@ scan_address_list (InternetAddressList *list, if (group_list == NULL) continue; - n += scan_address_list (group_list, config, message, type, NULL); + n += scan_address_list (group_list, config, message, type, user_from); } else { InternetAddressMailbox *mailbox; const char *name; diff --git a/test/reply b/test/reply index 196535ae..e4e16eb1 100755 --- a/test/reply +++ b/test/reply @@ -73,7 +73,6 @@ On Tue, 05 Jan 2010 15:43:56 -0000, Sender wrote: > reply from alternate address" test_begin_subtest "Reply from address in named group list" -test_subtest_known_broken add_message '[from]="Sender "' \ '[to]=group:test_suite@notmuchmail.org,someone@example.com\;' \ [cc]=test_suite_other@notmuchmail.org \