Преглед на файлове

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 {