Explorar o código

Bugfix. We no longer use the 'chatroom' bool

JC Brand %!s(int64=9) %!d(string=hai) anos
pai
achega
b18059fc04
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 {