Let EnterpriseService prevent usage of homeserver (#4682)
* Add check on homeserver url. * Update screenshots * Add missing test * Update submodule link. --------- Co-authored-by: ElementBot <android@element.io>
This commit is contained in:
parent
390337c426
commit
8ca5f8bc9d
14 changed files with 108 additions and 5 deletions
|
|
@ -14,6 +14,7 @@ interface EnterpriseService {
|
|||
val isEnterpriseBuild: Boolean
|
||||
suspend fun isEnterpriseUser(sessionId: SessionId): Boolean
|
||||
fun defaultHomeserver(): String?
|
||||
suspend fun isAllowedToConnectToHomeserver(homeserverUrl: String): Boolean
|
||||
|
||||
fun semanticColorsLight(): SemanticColors
|
||||
fun semanticColorsDark(): SemanticColors
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue