Commit 7e370c1b authored by Lynesth's avatar Lynesth Committed by JC Brand

Fix send_chat_state_notifications option for MUCs

Fixes half of #1337.
parent ec14a319
......@@ -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');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment