Commit 1dfdba0d authored by JC Brand's avatar JC Brand

muc: Ignore non-MUC (like error) messages

Noticed that Slack sends error messages back in response to chat state
notifications.

We're not doing anything with them currently and they bloat the sessionStorage
parent e3d2abf0
...@@ -1161,7 +1161,7 @@ ...@@ -1161,7 +1161,7 @@
); );
this.message_handler = _converse.connection.addHandler( this.message_handler = _converse.connection.addHandler(
this.handleMUCMessage.bind(this), this.handleMUCMessage.bind(this),
null, 'message', null, null, room_jid, null, 'message', 'groupchat', null, room_jid,
{'matchBareFromJid': true} {'matchBareFromJid': true}
); );
}, },
......
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