Commit eb82d644 authored by JC Brand's avatar JC Brand

converse-controlbox: Retain open state after logging in.

parent 62c81771
......@@ -259,7 +259,7 @@
onConnected: function () {
if (this.model.get('connected')) {
this.render().insertRoster();
this.model.save('closed', !this.$el.is(':visible'));
this.model.save();
}
},
......@@ -328,6 +328,7 @@
utils.fadeIn(this.el, function () {
_converse.controlboxtoggle.updateOnlineCount();
utils.refreshWebkit();
that.model.set('closed', false);
_converse.emit('controlBoxOpened', that);
});
},
......
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