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>
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;
> 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 \