-
kurion
Couldn't find a usage of gajim/data/sounds/send-failed.wav. I think the MessageNotSent event is a good candidate for its use.
-
kurion
will it be sufficient to hook into gajim/common/client/Client/send_message?
-
kurion
Also that sound is missing from Manage Sounds window✎ -
kurion
Also, that sound is missing from Manage Sounds window ✏
-
kurion
Oh I'm so sorry, It is I who added it to my local branch. Totally forgot about it. Checked out origin/master and sound isn't there.
-
kurion
If I want to play different sounds on MessageSent event based on if it is encrypted or unencrypted, where should I look into?
-
kurion
there is a sound event for message-sent but the playing of the sound is handled at main.py
-
kurion
I am finding it difficult to check the encryption method used for the message from inside main.py. Any suggestions?
-
kurion
at least quite some work, if not difficult.
-
bodqhrohro
Hey, they closed #11722! :P
-
cal0pteryx
bodqhrohro: I consider this trolling. If you continue to troll, you have to go
-
bodqhrohro
cal0pteryx: if that is trolling, how XHTML-IM deprecation is serious? I don't get it.
-
Byte
yikes 🥶
-
pep.
I guess they're not totally wrong that the security considerations brought to deprecate xhtml-im were bonkers :-°
-
pep.
May have been considered trolling too at the time but nobody picked that up
-
cal0pteryx
pep.: this user has a history, this is just the latest iteration
-
pep.
Ok
-
lovetox
Gajim had no part in deprecating XEPs
-
lovetox
Complaining here about it is useless
-
pep.
Well gajim can decide to remove support or implement them anyway
-
pep.
(Or *not* remove support)
-
debacle
pep.
-
debacle
> I guess they're not totally wrong that the security considerations brought to deprecate xhtml-im were bonkers :-°
-
debacle
I agree.
-
debacle
Sorry for asking yesterdays question again: > OMEMO carbons are broken for me atm. In both directions, Gajim 1.8.4 on both devices. How can I accept my own keys, again? I can't read my own messages on the respective other device :-(
-
lovetox
debacle, so you dont receive the messages?
-
lovetox
or the other application cant decrypt them?
-
lovetox
what application is this?
-
lovetox
what is the error it shows?
-
debacle
lovetox Both applications are Gajim 1.8.4, one on my private PC, one on my work PC ;-) The error is, that *my own* messages appear as "This message was encrypted with OMEMO and could not be decrypted."
-
debacle
I receive everything, but can't decrypt.
-
lovetox
then please gather debug logs so we see the error
-
debacle
lovetox OK!
-
debacle
Is there a specific debug option for OMEMO stuff?
-
alexander
Eh..different devices, different omemo key i would say? Missing key exchange?
-
keef
removed by cal0pteryx
Spam
-
a moderator
removed a message
Spam
-
lovetox
debacle, no, i would run the -v
-
debacle
lovetox Will do!
-
kurion
I am trying to understand the control flow of sending an OMEMO encrypted message. I see handlers for 'message-sent' in quite a few files. Specifically, I want to play different sound effects for encrypted and unencrypted sent messages. I'd love some hints where I should tap into.
-
kurion
I can see that main.py plays the sound, but inside _on_message_sent, there is no variable that will allow checking if the message is encrypted or not
-
kurion
lovetox: Could you please briefly explain the usage of `ged.GUI1`, `ged.GUI2` and `ged.POSTGUI` for the same event `message-sent` in multiple files?
-
kurion
is this for handling the event at different levels?
-
debacle
lovetox Habe Dir privat ein paar Zeilen aus dem log geschickt.
-
lovetox
kurion, then you need to extend the MessageSent object with such a variable that tells you if the message was encrypted
-
lovetox
> lovetox: Could you please briefly explain the usage of `ged.GUI1`, `ged.GUI2` and `ged.POSTGUI` for the same event `message-sent` in multiple files? when connecting to an event you can control with these constants in what emission stage you want to receive the event
-
kurion
lovetox: thank you. Is main.py the only appropriate place to change for this sound functionality? Because, to be honest, extending MessageSent to have one more variable looks like quite some work, if I am not mistaken. :P
-
lovetox
i think you are mistaken
-
lovetox
just add a line in the event
-
lovetox
and another line where you assign the value to the variable
-
kurion
wow, the default value would be None and I will need to raise MessageSent event with the appropriate boolean from client.py. right?
-
lovetox
yes
-
kurion
Is it right to say that flexibility of Python saved me some work here? or is this flexibility available in statically languages as well ?✎ -
lovetox
i would make a boolean "is_encrypted"= False/True
-
kurion
Is it right to say that flexibility of Python saved me some work here? or is this flexibility available in statically typed languages as well ? ✏
-
kurion
lovetox: will go with `is_encrypted`, thanks
-
lovetox
i dont think that python makes this easier, its a standard object oriented approach
-
ClapTrap
Hey Gajim team. I've installed Gajim by compiling it from source. It is working great. The only problem I am facing is it is showing "Needs gpell to be installed" under the switch to turn on the spell checker.✎ -
ClapTrap
Hey Gajim team. I've installed Gajim by building it from source. It is working great. The only problem I am facing is it is showing "Needs gpell to be installed" under the switch to turn on the spell checker. ✏
-
ClapTrap
I've installed `pygtkspellcheck` within the environment where I've installed the Gajim. But still same error. Any other way to fix this?✎ -
ClapTrap
I've installed `pygtkspellcheck` within the environment where I've installed the Gajim. But still same error. Any other way to fix this? Thanks for your help. ✏
-
cal0pteryx
it needs `gspell`, not gpell
-
cal0pteryx
https://packages.debian.org/source/sid/misc/gspell
-
ClapTrap
Yes. I made a typo there.
-
ClapTrap
Thanks. It is working now.
-
cal0pteryx
Great :)
-
shodan
Please add the ability to paste multiple pictures at once ? You can drop multiple picture files and that works, but you can paste multiple images, as far as I can tell. And when you're in the "send files" dialog, you can't also add more pictures to the send list by pasting (but you can drag and drop more pictures) Also, there is a delay and animation when you paste pictures/files, could that be a bit shorter ?
-
shodan
(Also I just discovered, if you paste and cancel and paste and cancel many times, when you go to actually post, it would post the file anymore and I had to restart gajim, not sure what happenned here nor the exact sequence that triggered the bug, might have to do with switching workspace while the send file dialog was up)
-
shodan
https://chat.domn.net:5443/upload/500b07a7efeff7dd5a382d5bf3fa0d30cec686c6/eOlElU6J5gczV3apcZWDMaFcYc2qfvBQlu8tpVhp/send_pasted_image_delay__8x_slow_down.mp4
-
shodan
Here is what that delay looks like about 0.4375 seconds, it's not much but just enough to be annoying. This video is slowed down 8 times.
-
polarian
shodan, you must be 20>
-
polarian
sorry... that was completely random... just saw fingers and shit and
-
polarian
you know what I will let myself out
-
shodan
I'm over 40 actually
-
polarian
DAMN
-
lovetox
transition duration is 200 ms
-
lovetox
but depending on CPU this could be slower
-
lovetox
you can disable animations alltogether if you want, search for gnome disable animations
-
shodan
This would have been the way to tweak it, https://github.com/Selenium-H/Animation-Tweaks https://conference.gajim.org:5281/pastebin/5d379b05-0d38-4f0b-9a1a-eacebd029376
-
shodan
It turned 7 lines of text into a pastebin url ? :\