Room : makes subscribeToSync/unsubscribeFromSync suspendable and makes sure we keep subscription count

This commit is contained in:
ganfra 2023-09-28 20:16:19 +02:00
parent ce96c73fa6
commit 74735605e4
6 changed files with 106 additions and 25 deletions

View file

@ -77,9 +77,9 @@ interface MatrixRoom : Closeable {
fun destroy()
fun subscribeToSync()
suspend fun subscribeToSync()
fun unsubscribeFromSync()
suspend fun unsubscribeFromSync()
suspend fun userDisplayName(userId: UserId): Result<String?>