Commit b18059fc authored by JC Brand's avatar JC Brand

Bugfix. We no longer use the 'chatroom' bool

parent d3c97486
......@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment