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

@ -157,9 +157,9 @@ class FakeMatrixRoom(
override val timeline: MatrixTimeline = matrixTimeline
override fun subscribeToSync() = Unit
override suspend fun subscribeToSync() = Unit
override fun unsubscribeFromSync() = Unit
override suspend fun unsubscribeFromSync() = Unit
override fun destroy() = Unit