Gajim - 2024-11-06


  1. fleebs

    is anyone able to use cock.li's xmpp service with gajim? the debug log just says "unable to connect" ...

  2. Kris

    Probably better that you can't connect as that is a shitty server run by shitty people.

  3. amogus

    Kris: thats your opinion, keep it to yourself

  4. opinionplatform.org_3

    Kris: Thanks for your opinion. Keep 'em coming.

  5. Kris

    🙄️

  6. opinionplatform.org_3

    😁

  7. klafyvel

    Hi there, I have a very basic question about URL preview. I have it enabled in Gajim>Preferences, but it does not seem to work most of the time. (See screenshot). Is there a way to make it work?

  8. klafyvel

    https://klafyvel.me/uploads/a4b602fa668bb11e93f3f90178ecb80638e13df7/Eu8gFjCP80esSVHqM1vawO4HwqM5so9ytUS4XhSv/136edd93-8983-405a-8848-92c4eb2ae01e.png

  9. nicoco

    I think it only works if the message body is the URL and nothing else

  10. cal0pteryx

    klafyvel: you're using a bridge to a different network. That bridge does not translate that file message to a previewable format

  11. nicoco

    cal0pteryx, I think gajim can make image previews of URLs to images if this is all the body contains, or am I mistaken?

  12. cal0pteryx

    If you enable it, yes. It's disabled by default

    👍 1
  13. klafyvel

    > klafyvel: you're using a bridge to a different network. That bridge does not translate that file message to a previewable format yes indeed, I thought gajim was able to preview it nonetheless since it detects it as an URL :(

  14. voker57

    Hi. Is there a script/way to extract the logs for a specific conference to plaintext, or to view them in a more convenient way? (like with being able to select more than one message for copying)

  15. meson

    voker57: you can select several messages when you hover over a message and click the small 3-dots button on the right

  16. XRevan86

    https://i.ibb.co/G7hHvRT/image.png Huh…

  17. XRevan86

    What did I even trigger there?

  18. meson

    Can reproduce it with: /me `x --` and /status online `x --`

  19. luca

    > Hi. Is there a script/way to extract the logs for a specific conference to plaintext, or to view them in a more convenient way? (like with being able to select more than one message for copying) Like https://git.sr.ht/~singpolyma/mam_backup ?

  20. klafyvel

    > If you enable it, yes. It's disabled by default Actually I'm not even able to make it work for single link messages... How do I enable it? My general preferences seem to be OK

  21. klafyvel

    https://klafyvel.me/uploads/a4b602fa668bb11e93f3f90178ecb80638e13df7/jPBL9sWbrkvLrNNss4EGkPXwwFbBvBgggAQovZs2/47cfe90a-f9ca-4062-8b3c-8ff20e7acf01.png

  22. meson

    lovetox, I think this can go wrong: https://dev.gajim.org/gajim/gajim/-/blob/gtk4/gajim/common/preview.py?ref_type=heads#L552 in line 552 you `write_file_async` with a callback on `_on_orig_write_finished` but in line 552 you already try create the preview: if the file has not been written at this point, creating the preview shoud fail.

  23. lovetox

    The data is saved in the preview object, the writing to disk is not relevant I think

  24. meson

    Oh I see

  25. joeDoe

    is there some kind of marker to know how far back to scroll to get to the point of last seen messages? Currently if I see that a MUC has received x messages since I was last there, I have to count back up x messages cause I'm not seeing any mark

  26. aereaux

    joeDoe, there's currently an MR for it: https://dev.gajim.org/gajim/gajim/-/merge_requests/960

  27. joeDoe

    Merge blocked :(

  28. lovetox

    meson do you have anything open for the gtk4 branch?

  29. meson

    only my experimental local branches, why? :)

  30. lovetox

    because i would like to format the code with black, but would wait if that generates big rebase problems

  31. meson

    you can do that

  32. meson

    I've pushed the branch for the video snapshot here: https://dev.gajim.org/mesonium/gajim/-/tree/gtk4-video-thumbnails-v2 it's really just a poc and testing but feedback is welcome to steer it to the ight direction

  33. meson

    I've pushed the branch for the video snapshot here: https://dev.gajim.org/mesonium/gajim/-/tree/gtk4-video-thumbnails-v2 it's really just a poc and testing but feedback is welcome to steer it to the right direction

  34. cal0pteryx

    meson, cool! :)

  35. lovetox

    meson your fix makes only half sense

  36. lovetox

    there are situations when there is no original path

  37. meson

    But then the line beneath could fail too?

  38. meson

    But the path can't be none at this point

  39. lovetox

    yeah you are right

  40. lovetox

    i confused it, my orginal goal was not to load data from the original when we load the thumb

  41. lovetox

    i feared if we guess the mime type it starts to read the original file

  42. lovetox

    but it does that in Gio if we pass the data attribute

  43. lovetox

    which we dont

  44. epsilon

    hi just wondering if my message can be read by other users? having difficulties

  45. lovetox

    yes

  46. epsilon

    ok awesome

  47. meson

    cal0pteryx: haven't you planned to restyle the image previews after the port? Iirc

  48. meson

    cal0pteryx: do I remember correctly that you had pllanned to restyle the image previews after the port?