mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
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 <jani@nikula.org>
This commit is contained in:
parent
93150f6467
commit
982096d79d
2 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -73,7 +73,6 @@ On Tue, 05 Jan 2010 15:43:56 -0000, Sender <sender@example.com> wrote:
|
|||
> reply from alternate address"
|
||||
|
||||
test_begin_subtest "Reply from address in named group list"
|
||||
test_subtest_known_broken
|
||||
add_message '[from]="Sender <sender@example.com>"' \
|
||||
'[to]=group:test_suite@notmuchmail.org,someone@example.com\;' \
|
||||
[cc]=test_suite_other@notmuchmail.org \
|
||||
|
|
Loading…
Reference in a new issue