Philipp Hörist pushed to branch master at gajim / python-nbxmpp


Commits:
bc73c22d by nicoco at 2025-09-16T18:33:34+02:00
fix: Do not treat thread subject as MUC subject

>From https://xmpp.org/extensions/xep-0045.html#subject-mod

> Note: A message with a <subject/> and a <body/> or a <subject/> and a 
> <thread/> is a legitimate message, but it SHALL NOT be interpreted as a 
> subject change.

- - - - -


1 changed file:

- nbxmpp/structs.py


Changes:

=====================================
nbxmpp/structs.py
=====================================
@@ -1174,6 +1174,7 @@ class MessageProperties:
         return (
             self.type == MessageType.GROUPCHAT
             and self.body is None
+            and self.thread is None
             and self.subject is not None
         )
 



View it on GitLab: 
https://dev.gajim.org/gajim/python-nbxmpp/-/commit/bc73c22de4de4f00e7335800bbe65698ef34489f

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/python-nbxmpp/-/commit/bc73c22de4de4f00e7335800bbe65698ef34489f
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to