Преглед на файлове

Decided to use 30secs instead of 20.

JC Brand преди 9 години
родител
ревизия
31f0e069ab
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/converse-chatview.js

+ 1 - 1
src/converse-chatview.js

@@ -323,7 +323,7 @@
                 handleChatStateMessage: function (message) {
                     if (message.get('chat_state') === converse.COMPOSING) {
                         this.showStatusNotification(message.get('fullname')+' '+__('is typing'));
-                        this.clear_status_timeout = window.setTimeout(this.clearStatusNotification.bind(this), 20000);
+                        this.clear_status_timeout = window.setTimeout(this.clearStatusNotification.bind(this), 30000);
                     } else if (message.get('chat_state') === converse.PAUSED) {
                         this.showStatusNotification(message.get('fullname')+' '+__('has stopped typing'));
                     } else if (_.contains([converse.INACTIVE, converse.ACTIVE], message.get('chat_state'))) {