Browse Source

Don't show delayed chat state notifications

JC Brand 7 năm trước cách đây
mục cha
commit
2850ef0485
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/converse-chatview.js

+ 1 - 1
src/converse-chatview.js

@@ -704,7 +704,7 @@
                     if (message.get('type') === 'error') {
                         this.showMessage(message);
                     } else {
-                        if (message.get('chat_state')) {
+                        if (message.get('chat_state') && !message.get('delayed')) {
                             this.showChatStateNotification(message);
                         }
                         if (message.get('file') || message.get('message')) {