Explorar o código

Don't show delayed chat state notifications

JC Brand %!s(int64=7) %!d(string=hai) anos
pai
achega
2850ef0485
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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')) {