mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-26 08:51:32 +02:00
Update comment about Modular server type selection
Modular now sets `disable_custom_urls`, so the server type selector is not shown for Modular-hosted Riot.
This commit is contained in:
parent
d8c5163f49
commit
9292a46db0
@ -62,8 +62,8 @@ function getDefaultType(defaultHsUrl) {
|
||||
} else if (defaultHsUrl === TYPES.FREE.hsUrl) {
|
||||
return FREE;
|
||||
} else if (new URL(defaultHsUrl).hostname.endsWith('.modular.im')) {
|
||||
// TODO: Use a Riot config parameter to detect Modular-ness.
|
||||
// https://github.com/vector-im/riot-web/issues/8253
|
||||
// This is an unlikely case to reach, as Modular defaults to hiding the
|
||||
// server type selector.
|
||||
return PREMIUM;
|
||||
} else {
|
||||
return ADVANCED;
|
||||
|
Loading…
x
Reference in New Issue
Block a user