From f65461301342c659f3056797f8f088f2ad81d62a Mon Sep 17 00:00:00 2001 From: Pietro Cerutti Date: Wed, 17 Apr 2019 09:40:45 +0000 Subject: [PATCH] Support group-chat-reply in the index Fixes #1654 --- index.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/index.c b/index.c index b0eb555f7..2140c6cfd 100644 --- a/index.c +++ b/index.c @@ -3140,7 +3140,13 @@ int mutt_index_menu(void) break; case OP_GROUP_REPLY: + case OP_GROUP_CHAT_REPLY: { + SendFlags replyFlags = SEND_REPLY; + if (op == OP_GROUP_REPLY) + replyFlags |= SEND_GROUP_REPLY; + else + replyFlags |= SEND_GROUP_CHAT_REPLY; if (!prereq(Context, menu, CHECK_IN_MAILBOX | CHECK_MSGCOUNT | CHECK_VISIBLE | CHECK_ATTACH)) break; struct EmailList el = STAILQ_HEAD_INITIALIZER(el); @@ -3149,7 +3155,7 @@ int mutt_index_menu(void) { mutt_check_traditional_pgp(&el, &menu->redraw); } - ci_send_message(SEND_REPLY | SEND_GROUP_REPLY, NULL, NULL, Context, &el); + ci_send_message(replyFlags, NULL, NULL, Context, &el); el_free(&el); menu->redraw = REDRAW_FULL; break; -- 2.40.0