mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:01:40 +00:00
Small change after PR review
This commit is contained in:
+1
-4
@@ -158,10 +158,7 @@ class RustMatrixClient constructor(
|
|||||||
roomSummaryDataSource.awaitAllRoomsAreLoaded()
|
roomSummaryDataSource.awaitAllRoomsAreLoaded()
|
||||||
cachedPairOfRoom = pairOfRoom(roomId)
|
cachedPairOfRoom = pairOfRoom(roomId)
|
||||||
}
|
}
|
||||||
return@withContext if (cachedPairOfRoom == null) {
|
cachedPairOfRoom?.let { (roomListItem, fullRoom) ->
|
||||||
null
|
|
||||||
} else {
|
|
||||||
val (roomListItem, fullRoom) = cachedPairOfRoom
|
|
||||||
RustMatrixRoom(
|
RustMatrixRoom(
|
||||||
sessionId = sessionId,
|
sessionId = sessionId,
|
||||||
roomListItem = roomListItem,
|
roomListItem = roomListItem,
|
||||||
|
|||||||
Reference in New Issue
Block a user