Rather don't expect join to always return the right context.
This commit is contained in:
parent
0bcf61389f
commit
c16dac1453
@ -370,7 +370,8 @@
|
|||||||
this.$el.find('.chat-content').on('scroll', this.markScrolled.bind(this));
|
this.$el.find('.chat-content').on('scroll', this.markScrolled.bind(this));
|
||||||
|
|
||||||
this.getRoomFeatures().always(function () {
|
this.getRoomFeatures().always(function () {
|
||||||
that.join().fetchMessages();
|
that.join();
|
||||||
|
that.fetchMessages();
|
||||||
converse.emit('chatRoomOpened', that);
|
converse.emit('chatRoomOpened', that);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user