Commit 42928ada authored by Dele Olajide's avatar Dele Olajide Committed by dele

Jitsi Videobridge plugin - Fixed broken ofmeet

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@13880 b35dd754-fafc-0310-a699-88a17e54d16e
parent 90b14960
...@@ -417,7 +417,7 @@ function urlParam(name) ...@@ -417,7 +417,7 @@ function urlParam(name)
function doJoin() { function doJoin() {
var roomnode = urlParam("r"); var roomnode = urlParam("r");
nickname = unescape(urlParam("n")); nickname = urlParam("n");
console.log("doJoin", roomnode, nickname); console.log("doJoin", roomnode, nickname);
...@@ -441,9 +441,9 @@ function doJoin() { ...@@ -441,9 +441,9 @@ function doJoin() {
} else { } else {
if (nickname) if (nickname)
myroomjid += '/' + nickname; myroomjid += '/' + escape(nickname);
else else
myroomjid += '/' + Strophe.getNodeFromJid(connection.jid); myroomjid += '/' + Math.random().toString(36).substr(2, 20);
} }
connection.addHandler(rayoCallback, 'urn:xmpp:rayo:colibri:1'); connection.addHandler(rayoCallback, 'urn:xmpp:rayo:colibri:1');
...@@ -451,9 +451,9 @@ function doJoin() { ...@@ -451,9 +451,9 @@ function doJoin() {
if (nickname) if (nickname)
{ {
var question = unescape(urlParam("q")); var question = urlParam("q");
if (question) updateChatConversation(nickname, question); if (question) updateChatConversation(nickname, unescape(question));
$('#nickname').css({visibility:"hidden"}); $('#nickname').css({visibility:"hidden"});
$('#ofmeet').css({visibility:'visible'}); $('#ofmeet').css({visibility:'visible'});
......
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