소스 검색

Bugfix. We no longer use the 'chatroom' bool

JC Brand 9 년 전
부모
커밋
b18059fc04
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/converse-minimize.js

+ 1 - 1
src/converse-minimize.js

@@ -200,7 +200,7 @@
                         this.model.toJSON(),
                         { 'tooltip': __('Click to restore this chat') }
                     );
-                    if (this.model.get('chatroom')) {
+                    if (this.model.get('type') === 'chatroom') {
                         data.title = this.model.get('name');
                         this.$el.addClass('chat-head-chatroom');
                     } else {