mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
feature(crypto): verification violation handling and block sending
This commit is contained in:
+4
@@ -209,6 +209,10 @@ internal class RustEncryptionService(
|
||||
getUserIdentity(userId).pin()
|
||||
}
|
||||
|
||||
override suspend fun withdrawVerificationRequirement(userId: UserId): Result<Unit> = runCatching {
|
||||
getUserIdentity(userId).withdrawVerification()
|
||||
}
|
||||
|
||||
private suspend fun getUserIdentity(userId: UserId): UserIdentity {
|
||||
return service.userIdentity(
|
||||
userId = userId.value,
|
||||
|
||||
Reference in New Issue
Block a user