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


Commits:
7ee56e87 by Philipp Hörist at 2025-03-03T19:58:28+01:00
fix: MUC: Don’t query avatars if not allowed

- - - - -


1 changed file:

- gajim/common/modules/vcard_avatars.py


Changes:

=====================================
gajim/common/modules/vcard_avatars.py
=====================================
@@ -183,7 +183,8 @@ def _muc_update_received(self, properties: 
PresenceProperties) -> None:
         if contact.room.get_disco() is not None:
             # We have no disco when we create a new room, but receive our
             # self presence
-            allow_query = contact.room.get_config_value('allow_query_users')
+            allow_query = contact.room.get_config_value(
+                'muc#roomconfig_allow_query_users')
             if allow_query is False:
                 self._log.debug('Room does not allow IQ queries: %s',
                                 contact.room.jid)



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

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