[RN] Polyfill window.location.search
Currently lib-jitsi-meet looks there in case the `anonymousdomain` config option was specified. While this commit alone doesn't add support for authenticated deployments, it avoids a failure if `anonymousdomain` was set, regardless of authentication being turned on or not. Fixes: https://github.com/jitsi/jitsi-meet/issues/1858
This commit is contained in:
parent
002e48b886
commit
d200abb8db
|
@ -259,7 +259,11 @@ function _visitNode(node, callback) {
|
||||||
// location
|
// location
|
||||||
if (typeof global.location === 'undefined') {
|
if (typeof global.location === 'undefined') {
|
||||||
global.location = {
|
global.location = {
|
||||||
href: ''
|
href: '',
|
||||||
|
|
||||||
|
// Required by:
|
||||||
|
// - lib-jitsi-meet/modules/xmpp/xmpp.js
|
||||||
|
search: ''
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue