mirror of https://github.com/vector-im/riot-web
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.pull/21833/head
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…
Reference in New Issue