Commit 2a7f490e authored by Philipp Hörist's avatar Philipp Hörist
Browse files

[omemo] Don't show info message for Key Transport message

If a Key Transport message is not encryped for us, don't show a warning.

Key Transport messages are sent for example to repair sessions with specific devices
and are generally not encrypted fo all known devices.
parent 667e1c7b
......@@ -246,6 +246,10 @@ class OMEMO(BaseModule):
except MessageNotForDevice:
if properties.omemo.payload is None:
# Key Transport message for another device
plaintext = _('This message was encrypted with OMEMO, '
'but not for your device.')
# Neither trust nor fingerprint can be verified if we didn't
Supports Markdown
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