Skip to content

Commit c474fed

Browse files
authored
Merge branch 'develop' into jonny/fix-placeholder-overflow
2 parents 9583171 + 2d98b39 commit c474fed

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ jsoup = { module = "org.jsoup:jsoup", version.ref = "jsoup" }
149149
appyx_core = { module = "com.bumble.appyx:core", version.ref = "appyx" }
150150
molecule-runtime = { module = "app.cash.molecule:molecule-runtime", version.ref = "molecule" }
151151
timber = "com.jakewharton.timber:timber:5.0.1"
152-
matrix_sdk = "org.matrix.rustcomponents:sdk-android:0.1.52"
152+
matrix_sdk = "org.matrix.rustcomponents:sdk-android:0.1.53"
153153
matrix_richtexteditor = { module = "io.element.android:wysiwyg", version.ref = "wysiwyg" }
154154
matrix_richtexteditor_compose = { module = "io.element.android:wysiwyg-compose", version.ref = "wysiwyg" }
155155
sqldelight-driver-android = { module = "com.squareup.sqldelight:android-driver", version.ref = "sqldelight" }

libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/auth/RustMatrixAuthenticationService.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ class RustMatrixAuthenticationService @Inject constructor(
5757
userAgent = userAgentProvider.provide(),
5858
oidcConfiguration = oidcConfiguration,
5959
customSlidingSyncProxy = null,
60+
sessionDelegate = null,
61+
crossProcessRefreshLockId = null,
6062
)
6163
private var currentHomeserver = MutableStateFlow<MatrixHomeServerDetails?>(null)
6264

libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/roomlist/RoomSummaryListProcessor.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class RoomSummaryListProcessor(
5959
}
6060
}
6161

62-
private suspend fun MutableList<RoomSummary>.applyUpdate(update: RoomListEntriesUpdate) {
62+
private fun MutableList<RoomSummary>.applyUpdate(update: RoomListEntriesUpdate) {
6363
when (update) {
6464
is RoomListEntriesUpdate.Append -> {
6565
val roomSummaries = update.values.map {
@@ -102,7 +102,7 @@ class RoomSummaryListProcessor(
102102
}
103103
}
104104

105-
private suspend fun buildSummaryForRoomListEntry(entry: RoomListEntry): RoomSummary {
105+
private fun buildSummaryForRoomListEntry(entry: RoomListEntry): RoomSummary {
106106
return when (entry) {
107107
RoomListEntry.Empty -> buildEmptyRoomSummary()
108108
is RoomListEntry.Filled -> buildAndCacheRoomSummaryForIdentifier(entry.roomId)
@@ -116,9 +116,9 @@ class RoomSummaryListProcessor(
116116
return RoomSummary.Empty(UUID.randomUUID().toString())
117117
}
118118

119-
private suspend fun buildAndCacheRoomSummaryForIdentifier(identifier: String): RoomSummary {
119+
private fun buildAndCacheRoomSummaryForIdentifier(identifier: String): RoomSummary {
120120
val builtRoomSummary = roomListService.roomOrNull(identifier)?.use { roomListItem ->
121-
roomListItem.roomInfo().use { roomInfo ->
121+
roomListItem.roomInfoBlocking().use { roomInfo ->
122122
RoomSummary.Filled(
123123
details = roomSummaryDetailsFactory.create(roomInfo)
124124
)

0 commit comments

Comments
 (0)