fix(Profile Flow): Marking as ID verified is not reflected in community member (#14269)

fixes #13772
This commit is contained in:
Andrey Bocharnikov 2024-04-04 03:43:24 +07:00 committed by GitHub
parent 2d20a2e1b7
commit de74a6ce03
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ proc trustStatus*(self: ContactsDto): TrustStatus =
result = self.trustStatus result = self.trustStatus
proc isContactVerified*(self: ContactsDto): bool = proc isContactVerified*(self: ContactsDto): bool =
return self.verificationStatus == VerificationStatus.Verified return self.verificationStatus == VerificationStatus.Verified or self.trustStatus == TrustStatus.Trusted
proc isContactUntrustworthy*(self: ContactsDto): bool = proc isContactUntrustworthy*(self: ContactsDto): bool =
return self.trustStatus == TrustStatus.Untrustworthy return self.trustStatus == TrustStatus.Untrustworthy