소스 검색

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);
                     });
                 },