Component presences are ignored
Versions
- OS: Debian bullseye
- Gajim version: 1.4.3 flatpak
- GTK version: 3.24.34
- Python-nbxmpp version: 3.1.0
Steps to reproduce the problem
- Receive a presence from a component that is part of your roster
Expected behavior
The roster view in gajim should show the component as "online" and display its status
Actual behavior
The component appears as offline.
Screenshot showing the problem, along with psi's behaviour, that seems more correct:
Additional info
Gajim's debug logs:
<presence xml:lang='en' from='dummy.localhost' to='test@localhost' id='1801ee36ca194b00a43691f1c5ea4966'><status>Connected</status><x xmlns='vcard-temp:x:update'><photo/></x></presence>
09/06/2022 08:54:36 (I) nbxmpp.connection (localhost) Signal: data-received
09/06/2022 08:54:36 (I) nbxmpp.dispatcher (localhost) Signal: before-dispatch
09/06/2022 08:54:36 (I) nbxmpp.stream (localhost) Signal: stanza-received
09/06/2022 08:54:36 (D) gajim.c.ged Raise event: stanza-received
09/06/2022 08:54:36 (D) gajim.c.ged Call handler _nec_stanza_received on <xml_console.XMLConsoleWindow object at 0x7fbd2300c600 (gajim+gui+xml_console+XMLConsoleWindow at 0x564e26e239c0)>
09/06/2022 08:54:36 (I) nbxmpp.dispatcher (localhost) Call handler: BasePresence._process_presence_base
09/06/2022 08:54:36 (I) nbxmpp.dispatcher (localhost) Call handler: VCardAvatar._process_avatar
09/06/2022 08:54:36 (I) nbxmpp.m.vcardavatar (localhost) dummy.localhost empty avatar advertised
09/06/2022 08:54:36 (I) nbxmpp.dispatcher (localhost) Call handler: Presence._presence_received
09/06/2022 08:54:36 (I) gajim.c.m.presence (localhost) Received from dummy.localhost
09/06/2022 08:54:36 (I) gajim.c.m.contacts (localhost) Signal: presence-update
09/06/2022 08:54:36 (D) gajim.c.storage.cache Execution time for get_contact: 1 ms
09/06/2022 08:54:36 (D) gajim.c.ged Raise event: presence-received
09/06/2022 08:54:36 (D) gajim.c.ged Call handler handle_event_presence on <gajim.gui_interface.Interface object at 0x7fbd23206df0>
09/06/2022 08:54:36 (D) gajim.c.ged Call handler _on_event on <main.MainWindow object at 0x7fbd22706fc0 (gajim+gui+main+MainWindow at 0x564e2670cb40)>
09/06/2022 08:54:36 (I) nbxmpp.dispatcher (localhost) Call handler: Chatstate._presence_received
09/06/2022 08:54:36 (I) nbxmpp.dispatcher (localhost) Call handler: VCardAvatars._presence_received
09/06/2022 08:54:36 (I) gajim.c.m.vcardavatars (localhost) dummy.localhost has no avatar published
09/06/2022 08:54:36 (D) gajim.c.storage.cache Execution time for set_contact: 1 ms
09/06/2022 08:54:36 (I) nbxmpp.stream (localhost) Remove ping timer
09/06/2022 08:54:36 (I) nbxmpp.stream (localhost) Start ping timer
09/06/2022 08:54:36 (I) nbxmpp.connection (localhost) Remove keepalive timer
09/06/2022 08:54:36 (I) nbxmpp.connection (localhost) Add keepalive timer
09/06/2022 08:54:36 (I) nbxmpp.connection (localhost) ::::: DATA RECEIVED ::::
In previous versions of gajim, gateway components had a special roster group called "transports" if I recall correctly, which was nice IMHO