Commit 9d9f64b2 authored by JC Brand's avatar JC Brand

declare namespace in relevant plugin

parent 7039dbe0
......@@ -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);
}
......
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