From e8763786e48f8175604feb400537053375d41f7e Mon Sep 17 00:00:00 2001 From: Robert Smallwood Date: Mon, 14 Dec 2015 20:40:17 -0700 Subject: [PATCH] Exposing some Moderator methods through xmpp.js to we can do auth the jitsi way from our client --- modules/xmpp/xmpp.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/xmpp/xmpp.js b/modules/xmpp/xmpp.js index dad634f93..6f020f1fc 100644 --- a/modules/xmpp/xmpp.js +++ b/modules/xmpp/xmpp.js @@ -629,6 +629,12 @@ var XMPP = { }, filter_special_chars: function (text) { return SDPUtil.filter_special_chars(text); + }, + createConferenceIQ: function (roomName) { + Moderator.createConferenceIq(roomName); + }, + parseSessionId: function (resultIq) { + Moderator.parseSessionId(resultIq); } };