mirror of https://github.com/vector-im/riot-web
Silence unnecessary warning
Don't complain that we can't enable guest login if nobody asked us topull/21833/head
parent
7bb1e503cb
commit
b1cc089062
|
@ -78,7 +78,7 @@ export async function loadSession(opts) {
|
||||||
const fragmentQueryParams = opts.fragmentQueryParams || {};
|
const fragmentQueryParams = opts.fragmentQueryParams || {};
|
||||||
const defaultDeviceDisplayName = opts.defaultDeviceDisplayName;
|
const defaultDeviceDisplayName = opts.defaultDeviceDisplayName;
|
||||||
|
|
||||||
if (!guestHsUrl) {
|
if (enableGuest && !guestHsUrl) {
|
||||||
console.warn("Cannot enable guest access: can't determine HS URL to use");
|
console.warn("Cannot enable guest access: can't determine HS URL to use");
|
||||||
enableGuest = false;
|
enableGuest = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue