|
|
@ -244,7 +244,6 @@ class RustMatrixClient( |
|
|
|
|
|
|
|
|
|
|
|
private suspend fun pairOfRoom(roomId: RoomId): Pair<RoomListItem, Room>? { |
|
|
|
private suspend fun pairOfRoom(roomId: RoomId): Pair<RoomListItem, Room>? { |
|
|
|
val cachedRoomListItem = innerRoomListService.roomOrNull(roomId.value) |
|
|
|
val cachedRoomListItem = innerRoomListService.roomOrNull(roomId.value) |
|
|
|
// Keep using fullRoomBlocking for now as it's faster. |
|
|
|
|
|
|
|
val fullRoom = cachedRoomListItem?.fullRoom() |
|
|
|
val fullRoom = cachedRoomListItem?.fullRoom() |
|
|
|
return if (cachedRoomListItem == null || fullRoom == null) { |
|
|
|
return if (cachedRoomListItem == null || fullRoom == null) { |
|
|
|
Timber.d("No room cached for $roomId") |
|
|
|
Timber.d("No room cached for $roomId") |
|
|
|