feat(branding): rebrand app identity to HealthChat

App id ch.healthchat.element, locked matrix.healthchat.ch homeserver.
This commit is contained in:
Sedat Qaja
2026-07-16 10:58:07 +02:00
parent 2f7748bc64
commit 2994430b88
4 changed files with 18 additions and 13 deletions
@@ -24,7 +24,7 @@ class DefaultEnterpriseService : EnterpriseService {
override suspend fun isEnterpriseUser(sessionId: SessionId) = false
override suspend fun tweakMasUrl(url: String, homeserver: String) = url
override fun defaultHomeserverList(): List<String> = emptyList()
override fun defaultHomeserverList(): List<String> = listOf("matrix.healthchat.ch")
override suspend fun isAllowedToConnectToHomeserver(homeserverUrl: String) = true
override suspend fun overrideBrandColor(sessionId: SessionId?, brandColor: String?) = Unit
@@ -25,9 +25,9 @@ class DefaultEnterpriseServiceTest {
}
@Test
fun `defaultHomeserverList should return empty list`() {
fun `defaultHomeserverList should return the HealthChat homeserver only`() {
val defaultEnterpriseService = DefaultEnterpriseService()
assertThat(defaultEnterpriseService.defaultHomeserverList()).isEmpty()
assertThat(defaultEnterpriseService.defaultHomeserverList()).containsExactly("matrix.healthchat.ch")
}
@Test