mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Revert to the SessionEnterpriseService approach
This commit is contained in:
+6
@@ -29,4 +29,10 @@ 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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user