Commit 60134c4d authored by Ari F's avatar Ari F Committed by JC Brand

Fixed bug showing occupants sidebar on browser tab switch

parent f78a1372
......@@ -2160,7 +2160,8 @@ converse.plugins.add('converse-muc-views', {
},
setVisibility () {
if (this.chatroomview.model.get('hidden_occupants')) {
if (this.chatroomview.model.get('hidden_occupants') ||
this.chatroomview.model.session.get('connection_status') !== converse.ROOMSTATUS.ENTERED) {
u.hideElement(this.el);
} else {
u.showElement(this.el);
......
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