Kaynağa Gözat

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

JC Brand 7 yıl önce
ebeveyn
işleme
aacfe3b66b
1 değiştirilmiş dosya ile 7 ekleme ve 0 silme
  1. 7 0
      src/converse-muc-views.js

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

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