Bugfix. Didn't call debounced method.
Causing the chat box to not appear when a new message is received.
This commit is contained in:
parent
1675109e71
commit
79fba8a6c6
@ -1547,7 +1547,7 @@
|
||||
converse.incrementMsgCounter();
|
||||
}
|
||||
if (!this.model.get('minimized') && !this.$el.is(':visible')) {
|
||||
_.debounce(this.show, 100);
|
||||
_.debounce(this.show.bind(this), 100)();
|
||||
}
|
||||
},
|
||||
|
||||
@ -2022,8 +2022,7 @@
|
||||
}
|
||||
this.setChatState(ACTIVE);
|
||||
this.scrollDown().focus();
|
||||
}.bind(this)
|
||||
);
|
||||
}.bind(this));
|
||||
return this;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user