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.
This commit is contained in:
parent
38d1e4e3d2
commit
2fca442f57
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user