Commit c16dac14 authored by JC Brand's avatar JC Brand

Rather don't expect join to always return the right context.

parent 0bcf6138
...@@ -370,7 +370,8 @@ ...@@ -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);
}); });
}, },
......
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