Philipp Hörist pushed to branch master at gajim / gajim
Commits:
e4019910 by Philipp Hörist at 2025-05-10T23:22:19+02:00
fix: DisplayMarkers: Send displayed only if contact is subscribed
- - - - -
1 changed file:
- gajim/common/modules/chat_markers.py
Changes:
=====================================
gajim/common/modules/chat_markers.py
=====================================
@@ -178,6 +178,9 @@ def _determine_marker_id(contact: types.ChatContactT,
@staticmethod
def _is_sending_marker_allowed(contact: types.ChatContactT) -> bool:
if isinstance(contact, BareContact):
+ if not contact.is_subscribed:
+ return False
+
return app.settings.get_contact_setting(
contact.account, contact.jid, 'send_marker')
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/e40199108324dc121a4f8555f879ef9bc7202eee
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/e40199108324dc121a4f8555f879ef9bc7202eee
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]