Gajim - 2023-07-04


  1. Denshi

    Hey, does anyone here know why I can't see profile pictures and nicknames of other users who I haven't added as friends yet? Even if they've set their profile to "public"?

  2. fjklp

    what do you mean by can't see nicknames?

  3. Denshi

    as in, it only shows the username part of their JID (eg. "alex" from alex@denshi.org as opposed to the published nickname, "Denshi") until I add them as friends and they add me back. Same thing for avatars

  4. lovetox

    Because we don't request them

  5. marmistrz

    lovetox, updated https://dev.gajim.org/gajim/gajim/-/merge_requests/965

  6. Denshi

    > Because we don't request them Is that a design decision? I was looking through the advanced configuration editor to see if there was a setting somewhere, but there doesn't seem to be one. I understand the privacy implications of allowing it though.

  7. lissine

    re MR 965, I believe that end to end encryption isn't possible when using bridges. So it'd be cool if bridge usage could be somehow detected and gajim prompts the user to disable e2ee for those specific chats

  8. robertoo

    > re MR 965, I believe that end to end encryption isn't possible when using bridges. So it'd be cool if bridge usage could be somehow detected and gajim prompts the user to disable e2ee for those specific chats Of course it is.

  9. marmistrz

    What do you mean by bridge? Something like biboumi? Public groupchats like this one?

  10. marmistrz

    lissine, ^

  11. marmistrz

    I checked that even if encryption-by-default is enabled, public groupchats like this one will still not be encrypted, as expected

  12. lissine

    > What do you mean by bridge? Something like biboumi? Public groupchats like this one? biboumi, as well as slidge I'm not a slidge user myself, but I believe one to one conversations can be bridged

  13. lissine

    nicoco: what do you think about this? > re MR 965, I believe that end to end encryption isn't possible when using bridges. So it'd be cool if bridge usage could be somehow detected and gajim prompts the user to disable e2ee for those specific chats

  14. nicoco

    I am not a client dev, but I don't think bridged contacts needs special handling. They just won't advertise that they can do OMEMO, and clients should not try to send OMEMO-encrypted messages to them?

  15. mjk

    exactly. they wouldn't have omemo keys published so omemo-encrypting a message to them wouldn't be even possible

  16. cal0pteryx

    That's why I said it's more than just selecting a default. We need sane error handling and comfortable user guidance.

  17. marmistrz

    If a groupchat doesn't support OMEMO (like this one), it didn't try to use OMEMO when I tested

  18. marmistrz

    cal0pteryx, ^

  19. cal0pteryx

    What if you cant fetch keys? What if the server prevents omemo from working?

  20. marmistrz

    Then you should get the standard errors as though you enabled it manually

  21. marmistrz

    that's what Conversations does too

  22. ☭Mike Yellow

    lovetox, I found that “Forget this Group Chat” does the both. It will delete the bookmark, and leave the room too. Maybe you should change the text to “Leave and forget this Group Chat”?

  23. ☭Mike Yellow

    Or give it the function that can join an room without adding the room into bookmarks automatically?

  24. ☭Mike Yellow

    > Maybe you should change the text to “Leave and forget this Group Chat”? If you decide to do this, the Simplified Chinese translation is “离开并忘记此群聊”.

  25. bot

    Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *0cc9b18f* < https://dev.gajim.org/gajim/gajim/-/commit/0cc9b18f0d3b0621c85da8a237f099690283b4fb > feat: Add setting for default encryption

  26. lovetox

    ☭Mike Yellow, there is no reason to click "forget" if you dont want to leave and forget about it

  27. lovetox

    i think the text is fine

  28. ☭Mike Yellow

    Fair. Understandable.

  29. deuill

    Hi friends, I'm doing some dev with Gajim on a local version of Prosody, with self-signed certificates, and can't seem to find how to get Gajim to accept the certificate authority enough to upload files.

  30. deuill

    Incoming files work, though with no preview (and the HTTPS verification toggle doesn't seem to do anything).

  31. deuill

    But outgoing fail with "The signing certificate authority is not known". I seem to remember this working in the past, though -- perhaps something changed in config? Anything I can check?

  32. cal0pteryx

    Link Mauve: do you manage the AUR gajim package? omemo_dr is missing from its dependencies

  33. Link Mauve

    cal0pteryx, it lists python-omemo-dr in the depends array.

  34. cal0pteryx

    Strange

  35. lovetox

    deuill, no there is currently no way short of changing a few lines of code

  36. lovetox

    httpupload.py -> _accept_certificate() needs to return True

  37. deuill

    Thanks lovetox, I'll just do that for now!

  38. deuill

    I suppose the function should respect the prior trust though, right? I might get to fixing that if you agree.

  39. deuill

    Hmmm even with `_accept_certificate` being bypassed, there's a follow-up error in `nbxmpp`: ``` nbxmpp.http Request(139667248114304): g-tls-error-quark: Unacceptable TLS certificate ```

  40. deuill

    Oh well

  41. marmistrz

    I'm trying to figure out how `get_emoji_data` works. It loads a gresource /org/gtk/libgtk/emoji/en.data, but I can't find any corresponding file in the /usr/share/gtk-3.0/emoji/ directory. Moreover, once I properly understood what the code is supposed to be doing, I see that the processor indeed works.

  42. marmistrz

    Where is the corresponding gresource actually stored? I can't find anything corresponding to the english file in my /usr/share/gtk-3.0

  43. cal0pteryx

    mjk, hannibal, ^ any secret knowledge? :)

  44. mjk

    I don't have /usr/share/gtk-3.0/emoji/en.blahblah but english data loads just fine, it's probably compiled in, or in another dir somewhere

  45. mjk

    as a last resort, you could probably find it or its sources at GTK's gitlab

  46. Link Mauve

    marmistrz, gresource is a mechanism which appends data to an ELF.

  47. Link Mauve

    That way you don’t have to distribute so many files with your application.

  48. Link Mauve

    So the gresource is probably in the /usr/lib/libgtk-4.so file.

  49. mjk

    Link Mauve: libgtk-3 you mean :P

  50. Link Mauve

    Err, yes.

  51. Link Mauve

    Sorry, I don’t live in the past. :p

  52. mjk

    I figured as much ^^

  53. lovetox

    deuill, ups, seems when we refactored the http code we forgot to actually issue this signal

  54. lovetox

    so it does nothing currently

  55. lovetox

    i dont see a easy way to circumvent that for you

  56. bot

    Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _python-nbxmpp_ < https://dev.gajim.org/gajim/python-nbxmpp >: *eec01dea* < https://dev.gajim.org/gajim/python-nbxmpp/-/commit/eec01dea39ac47c45ebb39667e3fc3c2372c28e5 > fix: HTTP: Add set_accept_certificate()

  57. lovetox

    deuill, if you use python-nbxmpp from master

  58. lovetox

    you can suply a func with set_accept_certificate_func() which when returns true should work

  59. mjk

    > Philipp Hörist pushed > feat: Add setting for default encryption it's happening!!1

  60. mjk

    now some people could start enabling this and report if things get funny in corner cases

  61. mjk

    and we have a transition path towards omemo-by-default!

  62. marmistrz

    So cool to see people excited about the MR I filed :D

  63. marmistrz

    stopped working as a programmer, finally have time and energy for hobby programming xD

  64. fjklp

    thanks for the contribution

  65. fjklp

    I tested it and it seems to work

  66. fjklp

    I guess it keeps the last encryption setting for a private chat even if the chat has been closed?

  67. lissine

    Hi. First I'd like to thank you for Gajim. I have some feedback about the UI. When I first started using Gajim, I found it confusing to log in/log out. There's an `Accounts` menu at the top but it doesn't let you log in/log out. What do you think about adding an entry there?

  68. lissine

    Second, in the conversations list on the left, for conversations that have unread messages, what do you think of making the last message bold?

  69. lissine

    I know there's the message counter, but it's easier if it's bold too

  70. lissine

    (The second idea is inspired from the conversations client, also the name of the contact/channel would be bold too)

  71. lovetox

    lissine, login/logout is a concept of websites

  72. lovetox

    they keep you logged in because of cookies, and you actively have to logout

  73. lovetox

    in Gajim you can add an account, and it will connect to the server. If you dont want that anymore, you can deactivate the account

  74. lissine

    understood :)

  75. lovetox

    but in any way this is a action someone will do on very very rare occasion, so having it in a menu on one click seems unnecessary

  76. lovetox

    about your other idea, making the name bold, i would have to see how that looks, but im not against trying, maybe someone has the time to try it and post some screenshots

  77. lissine

    https://share.ellini.org:5281/file_share/bAS3JiNP2NOMOrFHsVLlNr-H/52ZQh_tzStOl9bto-Q-p-Q.jpg

  78. lissine

    this is what I mean, you can see that conversations that have unread messages have the name and last message in bold