Update dependency org.matrix.rustcomponents:sdk-android to v25.11.11 (#5716)
* Update dependency org.matrix.rustcomponents:sdk-android to v25.11.11 * Fix API breaks: - `Client.loginWithQrCode` is now `Client.newLoginWithQrCodeHandler`. - Rust's `OtherState` can now have `RoomCreate` and `RoomHistoryVisibility` values. - Fix fixtures --------- 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:
+1
-1
@@ -282,7 +282,7 @@ class RustMatrixAuthenticationService(
|
||||
sessionPaths = emptySessionPaths,
|
||||
qrCodeData = sdkQrCodeLoginData,
|
||||
)
|
||||
client.loginWithQrCode(
|
||||
client.newLoginWithQrCodeHandler(
|
||||
oidcConfiguration = oidcConfiguration,
|
||||
).use {
|
||||
it.scan(
|
||||
|
||||
+2
@@ -220,6 +220,8 @@ private fun RustOtherState.map(): OtherState {
|
||||
is RustOtherState.RoomTopic -> OtherState.RoomTopic(topic)
|
||||
RustOtherState.SpaceChild -> OtherState.SpaceChild
|
||||
RustOtherState.SpaceParent -> OtherState.SpaceParent
|
||||
is RustOtherState.RoomCreate -> OtherState.RoomCreate
|
||||
is RustOtherState.RoomHistoryVisibility -> OtherState.RoomHistoryVisibility
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+3
@@ -12,6 +12,7 @@ import io.element.android.libraries.matrix.api.core.ThreadId
|
||||
import io.element.android.libraries.matrix.impl.fixtures.fakes.FakeFfiTimelineEvent
|
||||
import io.element.android.libraries.matrix.test.A_ROOM_NAME
|
||||
import io.element.android.libraries.matrix.test.A_USER_NAME
|
||||
import org.matrix.rustcomponents.sdk.Action
|
||||
import org.matrix.rustcomponents.sdk.JoinRule
|
||||
import org.matrix.rustcomponents.sdk.NotificationEvent
|
||||
import org.matrix.rustcomponents.sdk.NotificationItem
|
||||
@@ -27,6 +28,7 @@ fun aRustNotificationItem(
|
||||
isNoisy: Boolean? = false,
|
||||
hasMention: Boolean? = false,
|
||||
threadId: ThreadId? = null,
|
||||
actions: List<Action>? = null,
|
||||
) = NotificationItem(
|
||||
event = event,
|
||||
senderInfo = senderInfo,
|
||||
@@ -34,6 +36,7 @@ fun aRustNotificationItem(
|
||||
isNoisy = isNoisy,
|
||||
hasMention = hasMention,
|
||||
threadId = threadId?.value,
|
||||
actions = actions,
|
||||
)
|
||||
|
||||
fun aRustBatchNotificationResult(
|
||||
|
||||
Reference in New Issue
Block a user