-
QStambaugh
Even chats that have ~1000 people only take a couple of seconds to load up on my slowest laptop (which I'm on right now), and it's from ~2008
-
fjklp
It's interesting that switching from a big group chat to a small group chat is a bit slower than small to small. I guess some cleanup has to be done when switching away from a chat.
-
nicoco
FWIW, for me the time to switch between chats is OK (even though it would be nice if it was as fast as in the telegram desktop client, and yes, it's better than MS teams), but what's barely usable is the "start chat" dialog. I would like to use it more but the delay between me typing Ctrl+N and being able to actually type the name of the group or contact I want to chat with is off-putting. I tried to improve it by implementing some sort of lazy loading with threads so I can actually type the group or contact name right away after Ctrl+N but failed so far.
-
lovetox
nicoco, the way to go would probably, change the filter func so it shows no rows by default
-
lovetox
only show rows if there are at least 2 or 3 characters
-
lovetox
threads dont help, because the problem is the gui thread creating widgets and need to render it
-
lovetox
this cannot be done async, all rendering needs to happen in the GUI thread
-
lovetox
async would only help you if the delay comes from IO, like network or disk
-
nicoco
lovetox I’ll try to improve the current MRs with your feedback before trying to work on a perf improvement one 😉
-
bodqhrohro
Does Gajim still not support Ad-Hoc commands for PM like Psi+ and Cheogram do, huh?
-
bodqhrohro
I don't even remember if it ever did, actually.
-
fjklp
in the private chat, click the three dot button at top right
-
fjklp
I've never used it so don't know if it works
-
bodqhrohro
So it was fixed recently? (I still cannot run latest Gajim probably) Or the feature discovery just does not work properly? Cheogram allows to enforce it, it does not work there by default as well.
-
bodqhrohro
Oh, libproxy updated in Debian, gonna check.
-
lovetox
in PM? this makes not a lot of sense protocol wise
-
lovetox
you dont know if behind a user in a muc, is one device or 1✎ -
lovetox
you dont know if behind a user in a muc, is one device or 10 ✏
-
lovetox
you cannot address a specific resource because you dont see them
-
bodqhrohro
Nah, still the same crash when resolving gajim.org.
-
lovetox
where would you send an IQ with adhoc commands to?
-
bodqhrohro
lovetox: > behind a user in a muc How is that related to users in a MUC?
-
lovetox
PM, Private Message this is sending a message to a user in a MUC
-
bodqhrohro
My transport provides virtualized users, they always have only one resource anyway.
-
bodqhrohro
lovetox: isn't PM writing to a contact by real JID? MUC members are different, some clients name it "whispering" or so.
-
lovetox
its called private message in the muc protocol
-
bodqhrohro
(and those have one resource actually, as the "resource" is the member nickname)
-
lovetox
but ok, so you mean single chat
-
lovetox
bodqhrohro, thats just the muc resource, not the resource of the device
-
lovetox
IQ you want to reach a specific device
-
bodqhrohro
lovetox: yup, and that's why it's unrelated.
-
bodqhrohro
I did not even implement MUCs yet lol.
-
bodqhrohro
They slowly evolve in a separate branch and would be a major version milestone.
-
lovetox
last week a user reported that adhoc to contacts do not work, gajim does not address the adhoc command to the resource
-
lovetox
for that we would need some kind of resource chooser dialog
-
bodqhrohro
AFAIR, before Gajim allowed to write to a certain resource.
-
bodqhrohro
Like I can do in other clients like Tkabber or BombusMod.
-
lovetox
yes we dont support this anymore since years
-
lovetox
because sending chat message to a resource makes not much sense anymore
-
lovetox
but IQs still do
-
lovetox
but its currently not supported, though i guess not hard to implement
-
lovetox
whats your use case?
-
bodqhrohro
lovetox: just numerous commands lol.
-
bodqhrohro
They're supported as text commands for a long time already, but I decided to also implement them as Ad-Hoc finally.
-
lovetox
you would need to go into more detail, why would i want to send your device a command
-
bodqhrohro
lovetox: do you want me to copypaste the command help wall of text? :P
-
bodqhrohro
Available commands: https://conference.gajim.org:5281/pastebin/06b917f6-9eb4-4695-9422-752ddba36060
-
bodqhrohro
💅
-
bodqhrohro
Most of those things are not even natively covered by any XEPs yet.
-
lovetox
so this is a bot, and you want to control the bot from a different account?
-
bodqhrohro
This is a transport, as I mentioned.
-
bodqhrohro
Which provides virtual user JIDs.
-
lovetox
a transport as i understand it is a server component which has a domain
-
lovetox
it does not have a resource
-
bodqhrohro
Yup, those a JIDs on that subdomain.
-
bodqhrohro
For the transport itself, I can issue commands via the Service Discovery dialog.
-
lovetox
so you want to send a adhoc command to the transport?
-
lovetox
you can also simply add a chat now, as we address all adhoc commands to the bare jid
-
lovetox
this will work fine
-
lovetox
or rather we have a adhoc dialog, and you can trigger it from service discovery or from a single chat
-
bodqhrohro
lovetox: no, it has different sets of commands for user JIDs and for the transport's JID.
-
bodqhrohro
I'm talking about the former.
-
bodqhrohro
Besides of that, I'm also going to implement interaction with Telegram bots, also via Ad-Hoc.
-
debacle
lovetox Speaking of adhoc commands: In one public MUC, where I'm owner, I get: `invalid item attributes: AdHocCommand.__new__() missing 1 required positional argument: 'node'` Known problem?
-
debacle
When trying to fetch the command list, I guess.
-
lovetox
did you implement the adhoc command?
-
lovetox
i dont get this error, i would tip on a problem with the stanzas
-
lovetox
you would need to send debug logs
-
debacle
lovetox No, there probably is none. It's not my server, but I guess the list should be empty?
-
debacle
I'll check the stanza right now.
-
lovetox
i would expect an iq error, and not an empty list
-
lovetox
if no commands are supported
-
debacle
lovetox On my iq get (node="http://jabber.org/protocol/commands"), Gajim receives the list of MUC participants as iq result.
-
debacle
Btw. the XML console shows SM and presence messages, even if switched off.
-
lovetox
yeah please send this to me
-
lovetox
so i can take a look at the stanzas
-
debacle
done
-
lovetox
seems like a invalid disco impl
-
lovetox
it ignores the node attribute
-
lovetox
and thinks this is a normal disco items request
-
lovetox
you can see that it ignores it, because the node attribute is not returned in the answer
-
lovetox
which is also not allowed, im pretty sure
-
debacle
lovetox It is an older, patched, Ejabberd. AFAIK, it will be upgraded at some point. I'll just check again, when that happened. Not sure, if that will happen this year, though...
-
cal0pteryx
> for that we would need some kind of resource chooser dialog lovetox: we have that :) it's used to select a device for jingle file transfers, but the widget is multi purpose ↺
-
cal0pteryx
https://dev.gajim.org/gajim/gajim/-/blob/master/gajim/gtk/resource_selector.py
-
bot
lovetox pushed 1 commits to branch gajim/master fix: AdHoc: Send adhoc command to resource if there is one - https://dev.gajim.org/gajim/gajim/-/commit/543710538350655698c0cd2c4b80ee1965581631
-
lovetox
sch, bodqhrohro ^ next version Gajim will send the adhoc command to the resource if there is one
-
sch
Awesome! I will definitely try it out! Thank you, lovetox!
-
bodqhrohro
And I have to do something with the libproxy issue finally.