Browse Source

Fix API break.

pull/3715/head
Benoit Marty 1 week ago
parent
commit
9e5738e093
  1. 2
      libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/encryption/RustEncryptionService.kt

2
libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/encryption/RustEncryptionService.kt

@ -205,7 +205,7 @@ internal class RustEncryptionService( @@ -205,7 +205,7 @@ internal class RustEncryptionService(
}
override suspend fun pinUserIdentity(userId: UserId): Result<Unit> = runCatching {
val userIdentity = service.getUserIdentity(userId.value) ?: error("User identity not found")
val userIdentity = service.userIdentity(userId.value) ?: error("User identity not found")
userIdentity.pin()
}
}

Loading…
Cancel
Save