2
0
Эх сурвалжийг харах

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

Réda Housni Alaoui 6 жил өмнө
parent
commit
edcb8e28c2

+ 1 - 0
CHANGES.md

@@ -59,6 +59,7 @@
 - #1579: Trim spaces at the beginning and end of a JID (when adding contact)
 - #1585: Upload files by pasting from clipboard
 - #1586: Not possible to kick someone with a space in their nickname
+- #1664: Blacklisting converse-profile makes the control box totally blank
 
 ### Breaking changes
 

+ 3 - 0
src/converse-controlbox.js

@@ -476,6 +476,9 @@ converse.plugins.add('converse-controlbox', {
             className: 'controlbox-pane',
 
             initialize () {
+                if (!_converse.XMPPStatusView) {
+                    return;
+                }
                 _converse.xmppstatusview = new _converse.XMPPStatusView({
                     'model': _converse.xmppstatus
                 });