Gajim - 2025-04-15


  1. we.

    ## Versions: - OS: Debian GNU/Linux trixie/sid n/a (trixie) - GTK Version: 4.18.4 - PyGObject Version: 3.50.0 - GLib Version : 2.84.1 - libsoup Version: 3.6.5 - python-nbxmpp Version: 6.1.0 - Gajim Version: 2.1.0 ## Traceback ``` Traceback (most recent call last): File "/usr/lib/python3/dist-packages/nbxmpp/task.py", line 321, in _on_timeout self._set_finished() ~~~~~~~~~~~~~~~~~~^^ File "/usr/lib/python3/dist-packages/nbxmpp/task.py", line 252, in _set_finished self._finalize() ~~~~~~~~~~~~~~^^ File "/usr/lib/python3/dist-packages/nbxmpp/task.py", line 386, in _finalize self._client._dispatcher.remove_iq_callback(self._iq_id) # type: ignore ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'remove_iq_callback' ``` ## Steps to reproduce the problem ...

  2. toastal

    > perhaps a moderation log style thing, where recent moderator actions (along with the JID of relevant parties) are saved and can be looked over after the fact? This could be useful for auditing / record-keeping

  3. toastal

    Belated: RE always disconnecting: my debug logs say there was a presence update (I restarted server), “Remove rejoin timeout” per every joined rooms, “state-changed”, then “Set MUC state: gajim@conference.gajim.org NOT_JOINED” as well as all other rooms. This happen when my server disconnects (restarting, getting a new IP). After which, I am kicked from all rooms & need to manually rejoin them all since, according to the log, there was a timeout.

  4. toastal

    The desired behavior: when I restart my server or its IP changes, when I reconnect, all the rooms I was in also reconnect/rejoin.

  5. toastal

    Similar is on launch, I have to enter the keyring, but no rooms try to connect after authentication

  6. cal0pteryx

    toastal: that works fine for me. Which server (version) are you using?

  7. toastal

    Ejabberd 25.03

  8. lovetox

    If you catch a full log of that process where it fails I can take a look

  9. toastal

    I need a better understanding of where it happens

  10. tx0xelxkg1ef07o

    Hey, guys.

  11. novice8

    I am running Gajim 2.0.4 in Manjaro Linux. Right-clicking Gajim's "notification area" icon (i.e. the rightmost portion of the "taskbar") raises only a short flat white bar with no menu. Formerly I believe there used to be a menu there with things such as SHOW and HIDE. What should I do?

  12. novice8

    Clicking or double-clicking the notification area icon does nothing either.

  13. novice8

    If I "close" the main window and choose "Hide (Tray Icon)," then I am only left with the tray icon (= notification area icon). Since the tray icon does nothing for me, the only way for me to get the Gajim window back up is by using Manjaro's own "Start" menu (which they call a "Whisker" menu). So I can get by, but would like to have tray icon's functionality back.

  14. lovetox

    novice8: this should be fixed in 2.1.0

  15. novice8

    lovetox, thank you

  16. Goot the ticklegoblin!

    gajim appears to not be able to handle registration gets with only an <instructions/> element

  17. Goot the ticklegoblin!

    e.g. <query xmlns="jabber:iq:register"> <instructions>Registration on this server is through invitation only</instructions> </query>

  18. Goot the ticklegoblin!

    XEP-0077 suggests that the text of the <instructions/> element be shown to the user in this case, but gajim simply says "invalid register response"

  19. lovetox

    thats not the way how you do it

  20. lovetox

    you want this option

  21. lovetox

    https://xmpp.org/extensions/xep-0077.html#table-3

  22. lovetox

    iq:register instructions + x:oob URL

  23. Goot the ticklegoblin!

    there is no URL though to which users would be redirected

  24. lovetox

    then you need to invent one

  25. lovetox

    im not sure why you even do this, what would that info help the user?

  26. Goot the ticklegoblin!

    the table doesn't seem to have this case but it does seem like a natural extrapolation

  27. lovetox

    a server that does not allow registration is equivalent with one that is invite only

  28. Goot the ticklegoblin!

    > im not sure why you even do this, what would that info help the user? presently, Prosody sends a normal registration response if the server is invite-only, up until the user actually *submits* form, and then it errors out

  29. lovetox

    im pretty sure you can disable registration in prosody

  30. lovetox

    which is what it seems to me you want to do

  31. Goot the ticklegoblin!

    it looks like Prosody implements XEP-0445 which allows registration after a token is presented

  32. Goot the ticklegoblin!

    it looks like Prosody implements XEP-0445 which allows registration after a valid token is presented

  33. lovetox

    how is this relevant here?

  34. Goot the ticklegoblin!

    "registration is disabled" and "registration is only permitted after a valid token is presented" are different, though if gajim doesn't currently implement XEP-0445 it effectively is the same thing

  35. lovetox

    im not following, are you saying you cannot configure prosody to not send the 0077 form?

  36. Goot the ticklegoblin!

    n-no it seems like it's stemming from a misunderstanding of XEP-0077 (not on your part) and relying on undefined behavior

  37. Goot the ticklegoblin!

    thank you for setting the record straight 🙏

  38. debacle

    What is the expected behaviour on other clients, when I moderate a MUC message as spam? I assume, other Gajim instances would recognize this immediately? Non-compliant clients such as Dino just ignore the moderation?

  39. lissine

    Some servers (prosody & ejabberd?) will remove moderated messages from mam. So, even clients that don't support moderation will not see the spam if they weren't online when it happened.

  40. lovetox

    debacle, if you moderate, the server removes it usually from mam, and then sends out a info to all users of the muc that the message was moderated

  41. lovetox

    supporting clients can then delete the message locally

  42. lovetox

    no supporting clients dont get the message from mam anymore if they join later

  43. debacle

    OK, that's what I assumed. So Gajim would delete the message locally, right?

  44. lovetox

    actually it does not delete it yet, but it does hide it and you have no way right now of unhiding it

  45. debacle

    OK ;-) Thank you!

  46. lissine

    relevant: https://dev.gajim.org/gajim/gajim/-/issues/12163

  47. bot

    lovetox pushed 1 commits to branch gajim/master fix: Search: Don’t show moderated messages - https://dev.gajim.org/gajim/gajim/-/commit/a8ca9b60b904c152c56366edbe0c26f2357255a3

  48. lovetox

    forgot that one :D

  49. lovetox

    but its a easy fix

  50. cal0pteryx

    And here I was, fiddling with sqlalchemy :D

  51. lovetox

    hmm i will try afterwards, it would be better to fix it in the query itself, for some reason i thought it would be easier to not fix it in the query

  52. bot

    lovetox pushed 1 commits to branch gajim/master cfix: Search: Filter out moderated messages in the SQL query - https://dev.gajim.org/gajim/gajim/-/commit/fa3f2698886a0e89690ba71a849e3ab2a82f40a7

  53. tx0xelxkg1ef07o

    Hi guys how can I set up calling with gajim? it sends me a message saying "Call" with a phone icon whenever I receive a call but that's it. thanks

  54. lovetox

    you cannot, we disabled the functionality because its not maintained

  55. lovetox

    what version of Gajim do you use?

  56. tx0xelxkg1ef07o

    oh thanks. i use 1.7.3

  57. bot

    lovetox pushed 1 commits to branch gajim/master fix: Search: Ignore obsolete corrected messages - https://dev.gajim.org/gajim/gajim/-/commit/f9839d7d80fe1d305d971e9258f38382fe80f253