Skip to content

Commit b46f47f

Browse files
authored
Merge pull request #3119 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-0.x
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.29
2 parents 6c4e7ec + 0348d03 commit b46f47f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ jsoup = "org.jsoup:jsoup:1.17.2"
161161
appyx_core = { module = "com.bumble.appyx:core", version.ref = "appyx" }
162162
molecule-runtime = "app.cash.molecule:molecule-runtime:2.0.0"
163163
timber = "com.jakewharton.timber:timber:5.0.1"
164-
matrix_sdk = "org.matrix.rustcomponents:sdk-android:0.2.28"
164+
matrix_sdk = "org.matrix.rustcomponents:sdk-android:0.2.29"
165165
matrix_richtexteditor = { module = "io.element.android:wysiwyg", version.ref = "wysiwyg" }
166166
matrix_richtexteditor_compose = { module = "io.element.android:wysiwyg-compose", version.ref = "wysiwyg" }
167167
sqldelight-driver-android = { module = "app.cash.sqldelight:android-driver", version.ref = "sqldelight" }

libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/room/draft/ComposerDraftMapper.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ package io.element.android.libraries.matrix.impl.room.draft
1919
import io.element.android.libraries.matrix.api.core.EventId
2020
import io.element.android.libraries.matrix.api.room.draft.ComposerDraft
2121
import io.element.android.libraries.matrix.api.room.draft.ComposerDraftType
22-
import uniffi.matrix_sdk_base.ComposerDraft as RustComposerDraft
23-
import uniffi.matrix_sdk_base.ComposerDraftType as RustComposerDraftType
22+
import org.matrix.rustcomponents.sdk.ComposerDraft as RustComposerDraft
23+
import org.matrix.rustcomponents.sdk.ComposerDraftType as RustComposerDraftType
2424

2525
internal fun ComposerDraft.into(): RustComposerDraft {
2626
return RustComposerDraft(

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ class RustTimeline(
327327
runCatching<Unit> {
328328
when {
329329
originalEventId != null -> {
330-
inner.edit(
330+
inner.editByEventId(
331331
newContent = messageEventContentFromParts(body, htmlBody).withMentions(mentions.map()),
332332
eventId = originalEventId.value,
333333
)

0 commit comments

Comments
 (0)