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

Set no-store hint on groupchat chatstates

parent 63bd4967
......@@ -2683,6 +2683,8 @@ class Connection(CommonConnection, ConnectionHandlers):
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:
msg_iq.addChild(node=obj.label)
......
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