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
Fixes NPE when creating non anonymous room
hristoterezov394738394ddf
diff --git a/index.html b/index.htmlindex de00b219e4..d4abc8f584 100644--- a/index.html+++ b/index.html@@ -32,7 +32,7 @@<script src="libs/modules/RTC.bundle.js?v=6"></script><script src="libs/modules/desktopsharing.bundle.js?v=3"></script><!-- desktop sharing --><script src="util.js?v=7"></script><!-- utility functions -->- <script src="libs/modules/xmpp.bundle.js?v=2"></script>+ <script src="libs/modules/xmpp.bundle.js?v=3"></script><script src="app.js?v=28"></script><!-- application logic --><script src="libs/modules/API.bundle.js?v=1"></script>diff --git a/libs/modules/xmpp.bundle.js b/libs/modules/xmpp.bundle.jsindex 0ee935d3b9..e544fd9d2d 100644--- a/libs/modules/xmpp.bundle.js+++ b/libs/modules/xmpp.bundle.js@@ -3274,6 +3274,8 @@ module.exports = function(XMPP, eventEmitter) {.c('query', {xmlns: 'http://jabber.org/protocol/muc#owner'}).c('x', {xmlns: 'jabber:x:data', type: 'submit'});+ var self = this;+this.connection.sendIQ(getForm, function (form) {if (!$(form).find(@@ -3296,7 +3298,7 @@ module.exports = function(XMPP, eventEmitter) {formSubmit.c('field', {'var': 'muc#roomconfig_whois'}).c('value').t('anyone').up().up();- this.connection.sendIQ(formSubmit);+ self.connection.sendIQ(formSubmit);}, function (error) {console.error("Error getting room configuration form");@@ -3560,7 +3562,7 @@ module.exports = function(XMPP, eventEmitter) {// Fixes a bug in prosody 0.9.+ https://code.google.com/p/lxmppd/issues/detail?id=373formsubmit.c('field', {'var': 'muc#roomconfig_whois'}).c('value').t('anyone').up().up();// FIXME: is muc#roomconfig_passwordprotectedroom required?- this.connection.sendIQ(formsubmit,+ ob.connection.sendIQ(formsubmit,onSuccess,onError);} else {diff --git a/modules/xmpp/strophe.emuc.js b/modules/xmpp/strophe.emuc.jsindex 989a192f04..e76512896e 100644--- a/modules/xmpp/strophe.emuc.js+++ b/modules/xmpp/strophe.emuc.js@@ -61,6 +61,8 @@ module.exports = function(XMPP, eventEmitter) {.c('query', {xmlns: 'http://jabber.org/protocol/muc#owner'}).c('x', {xmlns: 'jabber:x:data', type: 'submit'});+ var self = this;+this.connection.sendIQ(getForm, function (form) {if (!$(form).find(@@ -83,7 +85,7 @@ module.exports = function(XMPP, eventEmitter) {formSubmit.c('field', {'var': 'muc#roomconfig_whois'}).c('value').t('anyone').up().up();- this.connection.sendIQ(formSubmit);+ self.connection.sendIQ(formSubmit);}, function (error) {console.error("Error getting room configuration form");@@ -347,7 +349,7 @@ module.exports = function(XMPP, eventEmitter) {// Fixes a bug in prosody 0.9.+ https://code.google.com/p/lxmppd/issues/detail?id=373formsubmit.c('field', {'var': 'muc#roomconfig_whois'}).c('value').t('anyone').up().up();// FIXME: is muc#roomconfig_passwordprotectedroom required?- this.connection.sendIQ(formsubmit,+ ob.connection.sendIQ(formsubmit,onSuccess,onError);} else {