From: Pietro Cerutti Date: Wed, 17 Apr 2019 09:40:45 +0000 (+0000) Subject: Support group-chat-reply in the index X-Git-Tag: 2019-10-25~256 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f65461301342c659f3056797f8f088f2ad81d62a;p=neomutt Support group-chat-reply in the index Fixes #1654 --- 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;