Переглянути джерело

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 {