Philipp Hörist pushed to branch master at gajim / gajim
Commits:
b5de0626 by Philipp Hörist at 2026-03-26T21:05:44+01:00
cfix: VCard4: Specify 'to' jid when subscribing
- - - - -
1 changed file:
- gajim/common/modules/vcard4.py
Changes:
=====================================
gajim/common/modules/vcard4.py
=====================================
@@ -126,9 +126,11 @@ def is_timezone_published(self) -> bool:
def subscribe_to_node(self) -> None:
self._log.info("Subscribe to node")
- self._client.get_module('PubSub').subscribe(Namespace.VCARD4_PUBSUB)
jid = self._get_own_bare_jid()
+ # JID is necessary because ejabberd servers react weird to subscribe
+ # to own nodes if 'to' attribute is not set
+ self._client.get_module('PubSub').subscribe(Namespace.VCARD4_PUBSUB,
jid)
self._nbxmpp('VCard4').request_vcard(
jid,
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/b5de0626b5094fe2553fb7b1ab030c6892e5d883
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/b5de0626b5094fe2553fb7b1ab030c6892e5d883
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]