Commit 8b9eb59e authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Set no-store hint on groupchat chatstates

parent 63bd4967
......@@ -2683,6 +2683,8 @@ def _nec_gc_message_outgoing(self, obj):
if obj.chatstate:
msg_iq.setTag(obj.chatstate, namespace=nbxmpp.NS_CHATSTATES)
if not obj.message:
msg_iq.setTag('no-store', namespace=nbxmpp.NS_MSG_HINTS)
if obj.label is not None:
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