Commit e29c2f81 authored by JC Brand's avatar JC Brand

muc: render tab upon chatroom add

So that it shows unread messages upon page reload.
parent cc0f6131
......@@ -2388,6 +2388,7 @@
this.model.on('change:muc_domain', this.onDomainChange, this);
this.model.on('change:nick', this.onNickChange, this);
_converse.chatboxes.on('change:num_unread', this.renderTab, this);
_converse.chatboxes.on('add', _.debounce(this.renderTab, 100), this);
},
render: function () {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment