Parcourir la source

Don't show MUC CSN if from myself. fixes #1026

JC Brand il y a 7 ans
Parent
commit
aacfe3b66b
1 fichiers modifiés avec 7 ajouts et 0 suppressions
  1. 7 0
      src/converse-muc-views.js

+ 7 - 0
src/converse-muc-views.js

@@ -585,6 +585,13 @@
                     return this;
                 },
 
+                showChatStateNotification (message) {
+                    if (message.get('sender') === 'me') {
+                        return;
+                    }
+                    return _converse.ChatBoxView.prototype.showChatStateNotification.apply(this, arguments);
+                },
+
                 createOccupantsView () {
                     /* Create the ChatRoomOccupantsView Backbone.NativeView
                      */