Decided to use 30secs instead of 20.

This commit is contained in:
JC Brand 2016-08-18 10:19:43 +00:00
parent 4d28ae3c11
commit 31f0e069ab

View File

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