declare namespace in relevant plugin
This commit is contained in:
parent
7039dbe01b
commit
9d9f64b2c3
@ -1615,12 +1615,9 @@
|
||||
*
|
||||
* See: http://xmpp.org/extensions/xep-0030.html#info
|
||||
*/
|
||||
// FIXME: should go into MUC
|
||||
converse.connection.disco.addFeature('jabber:x:conference');
|
||||
converse.connection.disco.addFeature(Strophe.NS.BOSH);
|
||||
converse.connection.disco.addFeature(Strophe.NS.CHATSTATES);
|
||||
converse.connection.disco.addFeature(Strophe.NS.DISCO_INFO);
|
||||
// FIXME: should go into Roster view plugin?
|
||||
converse.connection.disco.addFeature(Strophe.NS.ROSTERX); // Limited support
|
||||
if (converse.use_vcards) {
|
||||
converse.connection.disco.addFeature(Strophe.NS.VCARD);
|
||||
|
@ -66,6 +66,7 @@
|
||||
Features: {
|
||||
addClientFeatures: function () {
|
||||
this._super.addClientFeatures.apply(this, arguments);
|
||||
converse.connection.disco.addFeature('jabber:x:conference'); // Invites
|
||||
if (this.allow_muc) {
|
||||
this.connection.disco.addFeature(Strophe.NS.MUC);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user