mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Update dependency org.matrix.rustcomponents:sdk-android to v26.07.22 (#7258)
* Update dependency org.matrix.rustcomponents:sdk-android to v26.07.22 * Fix test fixture for rust's `RoomHero` --------- 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.07.15"
|
matrix_sdk = "org.matrix.rustcomponents:sdk-android:26.07.22"
|
||||||
|
|
||||||
# Others
|
# Others
|
||||||
coil = { module = "io.coil-kt.coil3:coil", version.ref = "coil" }
|
coil = { module = "io.coil-kt.coil3:coil", version.ref = "coil" }
|
||||||
|
|||||||
+6
@@ -11,11 +11,17 @@ package io.element.android.libraries.matrix.impl.fixtures.factories
|
|||||||
import io.element.android.libraries.matrix.api.core.UserId
|
import io.element.android.libraries.matrix.api.core.UserId
|
||||||
import io.element.android.libraries.matrix.test.A_USER_ID
|
import io.element.android.libraries.matrix.test.A_USER_ID
|
||||||
import org.matrix.rustcomponents.sdk.RoomHero
|
import org.matrix.rustcomponents.sdk.RoomHero
|
||||||
|
import org.matrix.rustcomponents.sdk.UserCall
|
||||||
|
import org.matrix.rustcomponents.sdk.UserStatus
|
||||||
|
|
||||||
internal fun aRustRoomHero(
|
internal fun aRustRoomHero(
|
||||||
userId: UserId = A_USER_ID,
|
userId: UserId = A_USER_ID,
|
||||||
|
status: UserStatus? = null,
|
||||||
|
call: UserCall? = null,
|
||||||
) = RoomHero(
|
) = RoomHero(
|
||||||
userId = userId.value,
|
userId = userId.value,
|
||||||
displayName = "displayName",
|
displayName = "displayName",
|
||||||
avatarUrl = "avatarUrl",
|
avatarUrl = "avatarUrl",
|
||||||
|
status = status,
|
||||||
|
call = call,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user