Commit 49ffa7a3 authored by Philipp Hörist's avatar Philipp Hörist

[omemo] Improve verifying trust

parent 0c38ee37
......@@ -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()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment