From 7e370c1b815b105a87f77f5f7088adfcb3352bb2 Mon Sep 17 00:00:00 2001 From: Lynesth Date: Sat, 5 Jan 2019 23:50:58 +1100 Subject: [PATCH] Fix send_chat_state_notifications option for MUCs Fixes half of #1337. --- src/headless/converse-muc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/headless/converse-muc.js b/src/headless/converse-muc.js index 6ec262c39..51d00bf44 100644 --- a/src/headless/converse-muc.js +++ b/src/headless/converse-muc.js @@ -441,7 +441,7 @@ converse.plugins.add('converse-muc', { * as taken from the 'chat_state' attribute of the chat box. * See XEP-0085 Chat State Notifications. */ - if (this.get('connection_status') !== converse.ROOMSTATUS.ENTERED) { + if (!_converse.send_chat_state_notifications || this.get('connection_status') !== converse.ROOMSTATUS.ENTERED) { return; } const chat_state = this.get('chat_state');