Implement Knock action (until the SDK level)

This commit is contained in:
Benoit Marty 2024-04-19 17:51:08 +02:00 committed by Benoit Marty
parent f29e79d64e
commit 797c912ccd
14 changed files with 172 additions and 5 deletions

View file

@ -66,6 +66,7 @@ interface MatrixClient : Closeable {
suspend fun uploadAvatar(mimeType: String, data: ByteArray): Result<Unit>
suspend fun removeAvatar(): Result<Unit>
suspend fun joinRoom(roomId: RoomId): Result<Unit>
suspend fun knockRoom(roomId: RoomId): Result<Unit>
fun syncService(): SyncService
fun sessionVerificationService(): SessionVerificationService
fun pushersService(): PushersService