Bugfix. We no longer use the 'chatroom' bool

This commit is contained in:
JC Brand 2016-03-21 11:33:34 +00:00
parent d3c97486dd
commit b18059fc04

View File

@ -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 {