From 2fca442f57f64d1f0b174db21d879c170b866168 Mon Sep 17 00:00:00 2001 From: JC Brand Date: Fri, 12 Jul 2019 13:50:39 +0200 Subject: [PATCH] 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. --- src/converse-muc-views.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/converse-muc-views.js b/src/converse-muc-views.js index 870ac5dfd..b959cbb54 100644 --- a/src/converse-muc-views.js +++ b/src/converse-muc-views.js @@ -1273,6 +1273,7 @@ converse.plugins.add('converse-muc-views', { onOccupantAdded (occupant) { if (occupant.get('jid') === _converse.bare_jid) { this.renderHeading(); + this.renderBottomPanel(); } if (occupant.get('show') === 'online') { this.showJoinNotification(occupant);