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

Add body to every grpchat message

parent 981c2fde
No related branches found
No related tags found
No related merge requests found
......@@ -568,6 +568,11 @@ class OmemoPlugin(GajimPlugin):
'namespace': NS_OMEMO})
event.msg_iq.addChild(node=eme_node)
# Add Message for devices that dont support OMEMO
support_msg = 'You received a message encrypted with ' \
'OMEMO but your client doesnt support OMEMO.'
event.msg_iq.setBody(support_msg)
# Store Hint for MAM
store = Node('store', attrs={'xmlns': NS_HINTS})
event.msg_iq.addChild(node=store)
......
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