feature(crypto): verification violation handling and block sending
This commit is contained in:
parent
ce1c01e626
commit
52c57d4d8e
13 changed files with 224 additions and 14 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue