Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Does not trim username from jid when joining muc when users are authenticated (entered their usernames).
Damian Minkov7acb89d5b553
diff --git a/app.js b/app.jsindex 843c8c65e4..aa7ea6fa44 100644--- a/app.js+++ b/app.js@@ -1,6 +1,7 @@/* jshint -W117 *//* application specific logic */var connection = null;+var authenticatedUser = false;var focus = null;var activecall = null;var RTC = null;@@ -105,6 +106,9 @@ function connect(jid, password) {});document.getElementById('connect').disabled = true;++ if(password)+ authenticatedUser = true;} else if (status === Strophe.Status.CONNFAIL) {if(msg === 'x-strophe-bad-non-anon-jid') {anonymousConnectionFailed = true;@@ -216,7 +220,13 @@ function doJoin() {roomjid += '/' + Strophe.getNodeFromJid(connection.jid);}} else {- roomjid += '/' + Strophe.getNodeFromJid(connection.jid).substr(0, 8);++ var tmpJid = Strophe.getNodeFromJid(connection.jid);++ if(!authenticatedUser)+ tmpJid = tmpJid.substr(0, 8);++ roomjid += '/' + tmpJid;}connection.emuc.doJoin(roomjid);}