knock : adjust api while sdk is not ready.
This commit is contained in:
parent
512b362615
commit
89ac2a6831
3 changed files with 21 additions and 13 deletions
|
|
@ -137,7 +137,8 @@ class RustRoomFactory(
|
|||
return@withContext null
|
||||
}
|
||||
val innerRoom = try {
|
||||
roomListItem.roomWithoutTimeline()
|
||||
// TODO use new method when available, for now it'll fail for knocked rooms
|
||||
roomListItem.invitedRoom()
|
||||
} catch (e: RoomListException) {
|
||||
Timber.e(e, "Failed to get pending room for $roomId")
|
||||
return@withContext null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue