Made the hooks of room creation and security & privacy screen more generic.

This commit is contained in:
mxandreas
2026-10-06 09:53:26 +03:00
parent 84fdbbe573
commit f2310cc530
14 changed files with 82 additions and 114 deletions
@@ -29,10 +29,4 @@ interface SessionEnterpriseService {
/** Whether the homeserver forbids creating encrypted rooms, in which case the app must not offer the option. */
suspend fun isEncryptionDisabledByHomeserver(): Boolean
/**
* Whether the homeserver forbids public rooms and spaces, in which case the app must not offer to create one,
* nor to make an existing room or space public.
*/
suspend fun arePublicRoomsDisabledByHomeserver(): Boolean
}