Philipp Hörist pushed to branch master at gajim / gajim

Commits:
8b9eb59e by Philipp Hörist at 2018-05-07T18:04:24+02:00
Set no-store hint on groupchat chatstates

- - - - -


1 changed file:

- gajim/common/connection.py


Changes:

=====================================
gajim/common/connection.py
=====================================
--- a/gajim/common/connection.py
+++ b/gajim/common/connection.py
@@ -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)
 



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/8b9eb59ee4d2b3cbccc94ce8d72e6f0472e74858

---
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/8b9eb59ee4d2b3cbccc94ce8d72e6f0472e74858
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
Commits@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to