Commit 2fca442f authored by JC Brand's avatar JC Brand

Also render bottom panel when own occupant is added

So that we can remove the textarea if we're a visitor in a moderated room.
parent 38d1e4e3
...@@ -1273,6 +1273,7 @@ converse.plugins.add('converse-muc-views', { ...@@ -1273,6 +1273,7 @@ converse.plugins.add('converse-muc-views', {
onOccupantAdded (occupant) { onOccupantAdded (occupant) {
if (occupant.get('jid') === _converse.bare_jid) { if (occupant.get('jid') === _converse.bare_jid) {
this.renderHeading(); this.renderHeading();
this.renderBottomPanel();
} }
if (occupant.get('show') === 'online') { if (occupant.get('show') === 'online') {
this.showJoinNotification(occupant); this.showJoinNotification(occupant);
......
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