Commit 7ccd6c89 authored by Maxime Buquet's avatar Maxime Buquet

xep_0384: pass the UntrustedException to the user

Signed-off-by: Maxime Buquet's avatarMaxime “pep” Buquet <>
parent 2455d00d
......@@ -340,10 +340,7 @@ class XEP_0384(BasePlugin):
# in any case, but we want to tell the user, always.
raise NoAvailableSession(jid, sid)
except (omemo.exceptions.UntrustedException,) as e:
# TODO: Pass the exception down to the lib user
# raise UntrustedException(e), e.device, e.ik)
return self.decrypt_message(msg)
raise UntrustedException(e)
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