2
0
Эх сурвалжийг харах

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

JC Brand 8 жил өмнө
parent
commit
c16dac1453
1 өөрчлөгдсөн 2 нэмэгдсэн , 1 устгасан
  1. 2 1
      src/converse-muc.js

+ 2 - 1
src/converse-muc.js

@@ -370,7 +370,8 @@
                     this.$el.find('.chat-content').on('scroll', this.markScrolled.bind(this));
 
                     this.getRoomFeatures().always(function () {
-                        that.join().fetchMessages();
+                        that.join();
+                        that.fetchMessages();
                         converse.emit('chatRoomOpened', that);
                     });
                 },