Philipp Hörist pushed to branch master at gajim / gajim
Commits:
ca825424 by Nicoco at 2024-05-21T08:25:32+00:00
new: Do not log warning on presence of unavailable MUC member
- - - - -
1 changed file:
- gajim/common/modules/muc.py
Changes:
=====================================
gajim/common/modules/muc.py
=====================================
@@ -665,6 +665,11 @@ def _on_muc_user_presence(self,
try:
presence = self._process_user_presence(properties)
except KeyError:
+ if (properties.type.is_unavailable
+ and properties.muc_user.role.is_none):
+ # prosody allows broadcasting "unavailable" presences from
+ # offline room members
+ return
# Sometimes it seems to happen that we get unavailable presence
# from occupants we don’t know
log.warning('Unexpected presence received')
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/ca8254246adbe5b05bd64cc1d3349e0be4a5954a
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/ca8254246adbe5b05bd64cc1d3349e0be4a5954a
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]