Gajim - 2024-03-18


  1. fjklp

    I guess it's normal but gajim gets pretty bogged down when downloading chat from MAM

  2. fjklp

    Is it possible to make gajim multi-threaded?

  3. fjklp

    Is it possible to make gajim multi-threaded? Just out of curiosity.

  4. fjklp

    I also wonder about the possibility of rate limiting the mam sync to reduce cpu load.

  5. fjklp

    Or maybe something else altogether would make it more efficient. I'm not sure what the actual source of the cpu load it. Maybe it's the fact that it's rendering the newly downloaded messages as they are downloaded. Maybe instead we could show a static message like "Syncing messages..." and not render until sync is complete.

  6. fjklp

    Or maybe something else altogether would make it more efficient. I'm not sure what the actual source of the cpu load is. Maybe it's the fact that it's rendering the newly downloaded messages as they are downloaded. Maybe instead we could show a static message like "Syncing messages..." and not render until sync is complete.

  7. chud

    Python threads are useless because of the GIL.

  8. lovetox

    First we would need to find out what's causing the CPU load

  9. fjklp

    maybe I'll try to figure that out another time

  10. cal0pteryx

    fjklp: here are the instructions on how to profile cpu usage https://dev.gajim.org/gajim/gajim/-/wikis/development/Debugging#performance-profile

  11. fjklp

    thanks

  12. fjklp

    I'm not sure how I'll go about getting gajim to download a bunch of messages

  13. fjklp

    maybe running a local server and somehow generating a bunch of messages on it somehow

  14. fjklp

    maybe running a local server and somehow generating a bunch of messages on it

  15. cal0pteryx

    Just join some random group chat

  16. fjklp

    as far as I know, chat only gets downloaded for previously joined chats, not newly joined

  17. fjklp

    I might have an opportunity to do this, but it would be nice to have a way to produce this activity on demand

  18. lovetox

    Also new joined but only one day

  19. lovetox

    But you can simply create a new chat Spam it with 200 messages

  20. lovetox

    Delete your database

  21. lovetox

    And rejoin

  22. lovetox

    You can also simply change the date we request on first join inside the code

  23. lovetox

    Change it to one month and join gajim

  24. fjklp

    yeah

  25. lovetox

    Should yield many messages

  26. fjklp

    I was thinking it would be nice if there's a way to insert a bunch of fake chat directly in the prosody mam

  27. fjklp

    might be easiest to do it your way

  28. Geld

    If I remember well, Conversations group has enabled history since it's very existence. I joined the MUC and it ate my roaming data like crazy 🤣

  29. kalkin

    Reading the gajim changelog I stumbled over: > Hint that a contact is a bot in the chat banner How does this work?

  30. kalkin

    Also why does fedora ship gajim 1.7.*?

  31. hannibal

    Ask fedora :)

  32. hannibal

    You could create an issue an ask fedora people to update

  33. kalkin

    hannibal: ic. I thought there might be a CI pipeline maintained by the project which is connected via their fedpkg tool

  34. kalkin

    > You could create an issue an ask fedora people to update Or first figure out if I could upgrade the rpm build instructions myself and if it works do a pr to fedora

  35. kalkin

    > You could create an issue an ask fedora people to update Or first figure out if I could upgrading the rpm build instructions myself and if it works do a pr to fedora

  36. kalkin

    Will have a look at it in the next days.

  37. lovetox

    kalkin: devices have a identity which we can read

  38. lovetox

    Disco Info is the keyword xep0030

  39. kalkin

    lovetox: thanks

  40. wreck

    👋 howdy. have gajim 1.8.4 installed in arch linux, with gstreamer 1.24.0, clutter-gst 3.0.27, and gst-plugins-{good,bad,ugly} 1.24.0. when i attempt to make a voice call, i'm getting gajim.c.jingle_rtp throwing an error: "could not initialize SRTP encoder" and the call fails. am i missing something? i haven't been able to find anything related to this online anywhere, not sure what i'm doing wrong here.

  41. wreck

    with another contact, i'm getting `gst_base_auto_convert_register_filter: assertion 'g_strcmp0 (name, ((GstAutoConvertFilterInfo *) tmp->data)->name)' failed`

  42. wreck

    with another contact, i'm getting `gst_base_auto_convert_register_filter: assertion 'g_strcmp0 (name, ((GstAutoConvertFilterInfo *) tmp->data)->name)' failed` and the call just never connects

  43. cal0pteryx

    wreck, calls don't work at the moment

  44. wreck

    well that explains that, lol. thank you!

  45. wreck

    is there an open issue i can follow or anything?

  46. cal0pteryx

    somebody is working on it, you can track progress here: https://dev.gajim.org/gajim/gajim/-/merge_requests/995

  47. wreck

    thank you!

  48. speedygonzales99

    cal0pteryx: beat me to it : )

  49. cal0pteryx

    speediercal0pteryx ;)

  50. speedygonzales99

    😅️

  51. fjklp

    lovetox: can you give me a hint on what to search to change the amount of log downloaded on first join?

  52. lovetox

    mam moudle

  53. lovetox

    mam module

  54. lovetox

    _get_muc_query_params

  55. fjklp

    thanks

  56. fjklp

    I thnk I just change days in ``` # First join start_date = now - timedelta(days=1) ```

  57. lovetox

    yes