-
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 ...
-
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 ↺
-
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.
-
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.
-
toastal
Similar is on launch, I have to enter the keyring, but no rooms try to connect after authentication
-
cal0pteryx
toastal: that works fine for me. Which server (version) are you using?
-
toastal
Ejabberd 25.03
-
lovetox
If you catch a full log of that process where it fails I can take a look
-
toastal
I need a better understanding of where it happens
-
tx0xelxkg1ef07o
Hey, guys.
-
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?
-
novice8
Clicking or double-clicking the notification area icon does nothing either.
-
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.
-
lovetox
novice8: this should be fixed in 2.1.0
-
novice8
lovetox, thank you
-
Goot the ticklegoblin!
gajim appears to not be able to handle registration gets with only an <instructions/> element
-
Goot the ticklegoblin!
e.g. <query xmlns="jabber:iq:register"> <instructions>Registration on this server is through invitation only</instructions> </query>
-
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"
-
lovetox
thats not the way how you do it
-
lovetox
you want this option
-
lovetox
https://xmpp.org/extensions/xep-0077.html#table-3
-
lovetox
iq:register instructions + x:oob URL
-
Goot the ticklegoblin!
there is no URL though to which users would be redirected
-
lovetox
then you need to invent one
-
lovetox
im not sure why you even do this, what would that info help the user?
-
Goot the ticklegoblin!
the table doesn't seem to have this case but it does seem like a natural extrapolation
-
lovetox
a server that does not allow registration is equivalent with one that is invite only
-
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 ↺
-
lovetox
im pretty sure you can disable registration in prosody
-
lovetox
which is what it seems to me you want to do
-
Goot the ticklegoblin!
it looks like Prosody implements XEP-0445 which allows registration after a token is presented✎ -
Goot the ticklegoblin!
it looks like Prosody implements XEP-0445 which allows registration after a valid token is presented ✏
-
lovetox
how is this relevant here?
-
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
-
lovetox
im not following, are you saying you cannot configure prosody to not send the 0077 form?
-
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
-
Goot the ticklegoblin!
thank you for setting the record straight 🙏
-
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?
-
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.
-
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
-
lovetox
supporting clients can then delete the message locally
-
lovetox
no supporting clients dont get the message from mam anymore if they join later
-
debacle
OK, that's what I assumed. So Gajim would delete the message locally, right?
-
lovetox
actually it does not delete it yet, but it does hide it and you have no way right now of unhiding it
-
debacle
OK ;-) Thank you!
-
lissine
relevant: https://dev.gajim.org/gajim/gajim/-/issues/12163
-
bot
lovetox pushed 1 commits to branch gajim/master fix: Search: Don’t show moderated messages - https://dev.gajim.org/gajim/gajim/-/commit/a8ca9b60b904c152c56366edbe0c26f2357255a3
-
lovetox
forgot that one :D
-
lovetox
but its a easy fix
-
cal0pteryx
And here I was, fiddling with sqlalchemy :D
-
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
-
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
-
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
-
lovetox
you cannot, we disabled the functionality because its not maintained
-
lovetox
what version of Gajim do you use?
-
tx0xelxkg1ef07o
oh thanks. i use 1.7.3
-
bot
lovetox pushed 1 commits to branch gajim/master fix: Search: Ignore obsolete corrected messages - https://dev.gajim.org/gajim/gajim/-/commit/f9839d7d80fe1d305d971e9258f38382fe80f253