Bläddra i källkod

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
JC Brand 8 år sedan
förälder
incheckning
1dfdba0db9
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/converse-muc.js

+ 1 - 1
src/converse-muc.js

@@ -1161,7 +1161,7 @@
                     );
                     this.message_handler = _converse.connection.addHandler(
                         this.handleMUCMessage.bind(this),
-                        null, 'message', null, null, room_jid,
+                        null, 'message', 'groupchat', null, room_jid,
                         {'matchBareFromJid': true}
                     );
                 },