Improve API: use RoomId instead of String.
This commit is contained in:
parent
ddf76d818a
commit
dc65191e2c
5 changed files with 11 additions and 10 deletions
|
|
@ -32,7 +32,7 @@ interface NotificationSettingsService {
|
|||
suspend fun setCallEnabled(enabled: Boolean): Result<Unit>
|
||||
suspend fun isInviteForMeEnabled(): Result<Boolean>
|
||||
suspend fun setInviteForMeEnabled(enabled: Boolean): Result<Unit>
|
||||
suspend fun getRoomsWithUserDefinedRules(): Result<List<String>>
|
||||
suspend fun getRoomsWithUserDefinedRules(): Result<List<RoomId>>
|
||||
suspend fun canHomeServerPushEncryptedEventsToDevice(): Result<Boolean>
|
||||
suspend fun getRawPushRules(): Result<String?>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue