Commit fa69bb1b authored by JC Brand's avatar JC Brand

trimChats called in converse-minimize. Return the view.

parent 55593245
......@@ -42,9 +42,9 @@
if (!view && !item.get('chatroom')) {
view = new converse.ChatBoxView({model: item});
this.add(item.get('id'), view);
this.trimChats(view);
return view;
} else {
this._super.onChatBoxAdded.apply(this, arguments);
return this._super.onChatBoxAdded.apply(this, arguments);
}
}
}
......
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