ソースを参照

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

JC Brand 8 年 前
コミット
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);
                     });
                 },