Add functions trackRecentlyVisitedRoom and getRecentlyVisitedRooms
This commit is contained in:
parent
b6ceb8c697
commit
649204238c
3 changed files with 27 additions and 0 deletions
|
|
@ -91,4 +91,7 @@ interface MatrixClient : Closeable {
|
|||
fun roomMembershipObserver(): RoomMembershipObserver
|
||||
|
||||
fun isMe(userId: UserId?) = userId == sessionId
|
||||
|
||||
suspend fun trackRecentlyVisitedRoom(roomId: RoomId): Result<Unit>
|
||||
suspend fun getRecentlyVisitedRooms(): Result<List<RoomId>>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue