Skip to content
Snippets Groups Projects
Commit 49ffa7a3 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

[omemo] Improve verifying trust

parent 0c38ee37
No related branches found
No related tags found
No related merge requests found
......@@ -532,7 +532,7 @@ class LiteAxolotlStore(AxolotlStore):
def isUntrustedIdentity(self, recipient_id, identity_key):
return self.getTrustForIdentity(
recipient_id, identity_key) not in (Trust.TRUSTED, Trust.UNDECIDED)
recipient_id, identity_key) == Trust.UNTRUSTED
def getIdentityLastSeen(self, recipient_id, identity_key):
identity_key = identity_key.getPublicKey().serialize()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment