Commit a9a93684 authored by JC Brand's avatar JC Brand

Bugifx. rooms weren't shown if converse-minimize was disabled.

parent 1fbc7e0f
...@@ -186,8 +186,6 @@ ...@@ -186,8 +186,6 @@
var result = this._super.initialize.apply(this, arguments); var result = this._super.initialize.apply(this, arguments);
if (this.model.get('minimized')) { if (this.model.get('minimized')) {
this.hide(); this.hide();
} else {
this.show();
} }
return result; return result;
} }
......
...@@ -195,6 +195,7 @@ ...@@ -195,6 +195,7 @@
this.join(null, {'maxstanzas': converse.muc_history_max_stanzas}); this.join(null, {'maxstanzas': converse.muc_history_max_stanzas});
this.fetchMessages(); this.fetchMessages();
this.$el.insertAfter(converse.chatboxviews.get("controlbox").$el); this.$el.insertAfter(converse.chatboxviews.get("controlbox").$el);
this.show();
converse.emit('chatRoomOpened', this); converse.emit('chatRoomOpened', this);
}, },
......
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