Small change after PR review
This commit is contained in:
parent
451cba20d0
commit
506b473d4d
1 changed files with 1 additions and 4 deletions
|
|
@ -158,10 +158,7 @@ class RustMatrixClient constructor(
|
|||
roomSummaryDataSource.awaitAllRoomsAreLoaded()
|
||||
cachedPairOfRoom = pairOfRoom(roomId)
|
||||
}
|
||||
return@withContext if (cachedPairOfRoom == null) {
|
||||
null
|
||||
} else {
|
||||
val (roomListItem, fullRoom) = cachedPairOfRoom
|
||||
cachedPairOfRoom?.let { (roomListItem, fullRoom) ->
|
||||
RustMatrixRoom(
|
||||
sessionId = sessionId,
|
||||
roomListItem = roomListItem,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue