mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 10:32:34 +00:00
Update dependency org.matrix.rustcomponents:sdk-android to v26.08.17 (#7460)
* Update dependency org.matrix.rustcomponents:sdk-android to v26.08.17 * Fix API breaks: - `ClientBuildException.WellKnownLookupDisabled` should be handled now. - `Client.sendReply` returns a `Result<SendHandle>` now. We can ignore it like we do for `Client.send`. --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jorge Martín <jorgem@element.io>
This commit is contained in:
@@ -185,7 +185,7 @@ test_detekt_test = { module = "io.gitlab.arturbosch.detekt:detekt-test", version
|
|||||||
# https://github.com/matrix-org/matrix-rust-components-kotlin/commits/main/sdk/sdk-android/src/main/kotlin/org/matrix/rustcomponents/sdk/matrix_sdk_ffi.kt
|
# https://github.com/matrix-org/matrix-rust-components-kotlin/commits/main/sdk/sdk-android/src/main/kotlin/org/matrix/rustcomponents/sdk/matrix_sdk_ffi.kt
|
||||||
# All new features should not be implemented in the pull request that upgrades the version, developers should
|
# All new features should not be implemented in the pull request that upgrades the version, developers should
|
||||||
# only fix API breaks and may add some TODOs.
|
# only fix API breaks and may add some TODOs.
|
||||||
matrix_sdk = "org.matrix.rustcomponents:sdk-android:26.08.13"
|
matrix_sdk = "org.matrix.rustcomponents:sdk-android:26.08.17"
|
||||||
|
|
||||||
# Others
|
# Others
|
||||||
coil = { module = "io.coil-kt.coil3:coil", version.ref = "coil" }
|
coil = { module = "io.coil-kt.coil3:coil", version.ref = "coil" }
|
||||||
|
|||||||
+1
@@ -29,6 +29,7 @@ fun Throwable.mapAuthenticationException(): AuthenticationException {
|
|||||||
is ClientBuildException.WellKnownLookupFailed -> AuthenticationException.Generic(message)
|
is ClientBuildException.WellKnownLookupFailed -> AuthenticationException.Generic(message)
|
||||||
is ClientBuildException.EventCache -> AuthenticationException.Generic(message)
|
is ClientBuildException.EventCache -> AuthenticationException.Generic(message)
|
||||||
is ClientBuildException.InvalidRawKey -> AuthenticationException.Generic(message)
|
is ClientBuildException.InvalidRawKey -> AuthenticationException.Generic(message)
|
||||||
|
is ClientBuildException.WellKnownLookupDisabled -> AuthenticationException.Generic(message)
|
||||||
}
|
}
|
||||||
is OAuthException -> when (this) {
|
is OAuthException -> when (this) {
|
||||||
is OAuthException.Generic -> AuthenticationException.OAuth(message)
|
is OAuthException.Generic -> AuthenticationException.OAuth(message)
|
||||||
|
|||||||
+1
-1
@@ -365,7 +365,7 @@ class RustTimeline(
|
|||||||
fromNotification: Boolean,
|
fromNotification: Boolean,
|
||||||
msgType: MsgType,
|
msgType: MsgType,
|
||||||
): Result<Unit> = withContext(dispatcher) {
|
): Result<Unit> = withContext(dispatcher) {
|
||||||
runCatchingExceptions {
|
runCatchingExceptions<Unit> {
|
||||||
val msg = MessageEventContent.from(
|
val msg = MessageEventContent.from(
|
||||||
body = body,
|
body = body,
|
||||||
htmlBody = htmlBody,
|
htmlBody = htmlBody,
|
||||||
|
|||||||
Reference in New Issue
Block a user