declare namespace in relevant plugin

This commit is contained in:
JC Brand 2016-03-14 16:46:04 +00:00
parent 7039dbe01b
commit 9d9f64b2c3
2 changed files with 1 additions and 3 deletions

View File

@ -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);

View File

@ -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);
}