Commit edcb8e28 authored by Réda Housni Alaoui's avatar Réda Housni Alaoui Committed by JC Brand

Fix #1664 Blacklisting converse-profile makes the control box totally blank

parent d90bcd52
...@@ -59,6 +59,7 @@ ...@@ -59,6 +59,7 @@
- #1579: Trim spaces at the beginning and end of a JID (when adding contact) - #1579: Trim spaces at the beginning and end of a JID (when adding contact)
- #1585: Upload files by pasting from clipboard - #1585: Upload files by pasting from clipboard
- #1586: Not possible to kick someone with a space in their nickname - #1586: Not possible to kick someone with a space in their nickname
- #1664: Blacklisting converse-profile makes the control box totally blank
### Breaking changes ### Breaking changes
......
...@@ -476,6 +476,9 @@ converse.plugins.add('converse-controlbox', { ...@@ -476,6 +476,9 @@ converse.plugins.add('converse-controlbox', {
className: 'controlbox-pane', className: 'controlbox-pane',
initialize () { initialize () {
if (!_converse.XMPPStatusView) {
return;
}
_converse.xmppstatusview = new _converse.XMPPStatusView({ _converse.xmppstatusview = new _converse.XMPPStatusView({
'model': _converse.xmppstatus 'model': _converse.xmppstatus
}); });
......
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