Implement Knock action (until the SDK level)
This commit is contained in:
parent
f29e79d64e
commit
797c912ccd
14 changed files with 172 additions and 5 deletions
|
|
@ -451,6 +451,10 @@ class RustMatrixClient(
|
|||
}
|
||||
}
|
||||
|
||||
override suspend fun knockRoom(roomId: RoomId): Result<Unit> {
|
||||
return Result.failure(NotImplementedError("Not yet implemented"))
|
||||
}
|
||||
|
||||
override suspend fun trackRecentlyVisitedRoom(roomId: RoomId): Result<Unit> = withContext(sessionDispatcher) {
|
||||
runCatching {
|
||||
client.trackRecentlyVisitedRoom(roomId.value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue