Fix: Contact status

This commit is contained in:
Sébastien Hut 2015-09-11 15:44:44 +02:00
parent 4a48e16441
commit b04f96a397
1 changed files with 1 additions and 0 deletions

View File

@ -127,6 +127,7 @@ module.exports = BasePage.extend({
if (e.which === 13 && !e.shiftKey) {
app.composing[this.model.jid] = '';
this.sendChat();
this.sendChatState('active');
e.preventDefault();
return false;
} else if (e.which === 38 && this.$chatInput.val() === '' && this.model.lastSentMessage) {