We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
getBaseRoom
Client.getRoom
1 parent 3af48db commit a187e8cCopy full SHA for a187e8c
libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/room/RustRoomFactory.kt
@@ -84,12 +84,7 @@ class RustRoomFactory(
84
}
85
86
private suspend fun getBaseRoom(roomListItem: RoomListItem): RustBaseRoom? {
87
- val room = if (roomListItem.isTimelineInitialized()) {
88
- roomListItem.fullRoom()
89
- } else {
90
- innerClient.getRoom(roomListItem.id())
91
- } ?: return null
92
-
+ val room = innerClient.getRoom(roomListItem.id()) ?: return null
93
val initialRoomInfo = room.roomInfo()
94
return RustBaseRoom(
95
sessionId = sessionId,
0 commit comments