瀏覽代碼

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'))) {