Skip to content

Commit d4d837c

Browse files
authored
Merge pull request #1357 from vector-im/feature/fga/update_rust_sdk_0.1.54
Update rust-sdk to 0.1.54
2 parents 49bcf5c + bc68d47 commit d4d837c

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

gradle/libs.versions.toml

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

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ class RoomSummaryListProcessor(
9999
RoomListEntriesUpdate.Clear -> {
100100
clear()
101101
}
102+
is RoomListEntriesUpdate.Truncate -> {
103+
subList(update.length.toInt(), size).clear()
104+
}
102105
}
103106
}
104107

libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/timeline/MatrixTimelineDiffProcessor.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ internal class MatrixTimelineDiffProcessor(
9898
TimelineChange.CLEAR -> {
9999
clear()
100100
}
101+
TimelineChange.TRUNCATE -> {
102+
// Not supported
103+
}
101104
}
102105
}
103106

0 commit comments

Comments
 (0)