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


Commits:
a9226f58 by Philipp Hörist at 2024-05-18T15:25:57+02:00
fix: Correctly check occupant id support

- - - - -


1 changed file:

- gajim/common/modules/message_util.py


Changes:

=====================================
gajim/common/modules/message_util.py
=====================================
@@ -124,7 +124,7 @@ def get_occupant_id(
     if not properties.occupant_id:
         return None
 
-    if contact.supports(Namespace.OCCUPANT_ID):
+    if contact.room.supports(Namespace.OCCUPANT_ID):
         return properties.occupant_id
     return None
 



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/a9226f58a124a300dc2ff15bd8b4951b9bd21d04

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/a9226f58a124a300dc2ff15bd8b4951b9bd21d04
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