Commit 5fe9b21a authored by Philipp Hörist's avatar Philipp Hörist

[omemo] Add fallback body

parent 9f700bab
...@@ -594,6 +594,11 @@ class OMEMO: ...@@ -594,6 +594,11 @@ class OMEMO:
'namespace': NS_OMEMO}) 'namespace': NS_OMEMO})
event.msg_iq.addChild(node=eme_node) event.msg_iq.addChild(node=eme_node)
# Add Message for devices that don't support OMEMO
support_msg = _("You received a message encrypted with " \
"OMEMO but your client doesn't support OMEMO.")
# Store Hint for MAM # Store Hint for MAM
store = Node('store', attrs={'xmlns': NS_HINTS}) store = Node('store', attrs={'xmlns': NS_HINTS})
event.msg_iq.addChild(node=store) event.msg_iq.addChild(node=store)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment