aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-reply.c
diff options
context:
space:
mode:
authorGravatar Jani Nikula <jani@nikula.org>2012-01-14 23:49:50 +0200
committerGravatar David Bremner <bremner@debian.org>2012-01-16 21:06:34 -0400
commit982096d79df8d47ac62d9a74fa0a9baa9c008812 (patch)
tree417661b76a06c848582f7b3439fe517bd49480e2 /notmuch-reply.c
parent93150f6467e10d075bf5cf4f27eb632a4d5d63dd (diff)
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>
Diffstat (limited to 'notmuch-reply.c')
-rw-r--r--notmuch-reply.c2
1 files changed, 1 insertions, 1 deletions
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;