Browse Source

Use namespace const

JC Brand 10 năm trước cách đây
mục cha
commit
3ab1ad88dd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      converse.js

+ 1 - 1
converse.js

@@ -4426,7 +4426,7 @@
                  converse.connection.disco.addFeature('http://jabber.org/protocol/rosterx'); // Limited support
                  converse.connection.disco.addFeature('jabber:x:conference');
                  converse.connection.disco.addFeature('urn:xmpp:carbons:2');
-                 converse.connection.disco.addFeature('vcard-temp');
+                 converse.connection.disco.addFeature(Strophe.NS.VCARD);
                  converse.connection.disco.addFeature(Strophe.NS.BOSH);
                  converse.connection.disco.addFeature(Strophe.NS.DISCO_INFO);
                  converse.connection.disco.addFeature(Strophe.NS.MUC);