Gajim - 2023-11-18


  1. bot

    Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *0683f7f2* < https://dev.gajim.org/gajim/gajim/-/commit/0683f7f2e6f53d16c3700952102c446956eb4a92 > imprv: Raise nbxmpp log level

  2. ClapTrap

    > Hey guys. I just found my Gajim version in my Ubuntu 22.04 isn't the latest. And to get the latest I have to use Flatpak. Is there any other way to install the latest version of Gajim? Are there any Ubuntu repositories? Hey guys. Can someone please help me with this?

  3. ClapTrap

    Also, is there documentation for using *nbxmpp*? I want to write a client that will be taking questions and process them through some AI to generate answers based in the context.

  4. lovetox

    ClapTrap, there is no documentation, but a example client

  5. lovetox

    https://dev.gajim.org/gajim/nbxmpp-client

  6. lovetox

    and no im not aware of any ubuntu repositories

  7. procrastinator

    looks like gajim doesn't get message archive when it was suspended-to-ram, only fetches newset messages

  8. lovetox

    procrastinator, check the logs, your archive may be broken

  9. procrastinator

    no, cheogram fetches it

  10. procrastinator

    cheogram gets 53 messages

  11. procrastinator

    but gajim doesn't get any

  12. procrastinator

    (on the same channel)

  13. bodqhrohro

    lovetox: a proto of future Gajim, huh?

  14. lovetox

    procrastinator, so tell us the channel to take a look

  15. procrastinator

    it's an irc channel, from biboumi! i only have gateways account setup on cheogram -- but i'll try to get a public xmpp muc next time

  16. lovetox

    ... there can be a lot of things wrong

  17. procrastinator

    that too!

  18. lovetox

    i dont think a statement like "gajim does not fetch messages after suspended to ram" is waranted

  19. lovetox

    there might be a problem with that specific muc on this specific irc bridge

  20. procrastinator

    hmm i had to restart gajim since it didn't fetch new messages from other gateways as well

  21. procrastinator

    since it was a problem on 3 different gateways, it seemed likely that something was wrong on either gajim or on prosody

  22. procrastinator

    and since cheogram worked, i figured it was probably gajim

  23. lovetox

    gather logs and see what they say after it happens gain

  24. procrastinator

    this wiki is slightly incorrect: https://dev.gajim.org/gajim/gajim/-/wikis/help/Keyboard-Shortcuts

  25. procrastinator

    it mentions ~/.config/gajim/shortcuts.json but should instead be: ~/.config/gajim/other/shortcuts.json

  26. procrastinator

    and this line as well: You can add a file called shortcuts.json in the gajim config directory.

  27. procrastinator

    should be: other/shortcuts.json

  28. lovetox

    thats incorrect

  29. lovetox

    why do you think that?

  30. procrastinator

    i looked at the source

  31. procrastinator

    i'll find it rn

  32. lovetox

    you misinterpreted the code

  33. procrastinator

    it's only working after i created the `other' folder

  34. procrastinator

    before it didn't apply my shortcuts

  35. procrastinator

    default_path = configpaths.get('DATA') / 'other' / 'shortcuts.json'

  36. procrastinator

    in gajim/gtk/application.py

  37. lovetox

    yeah thats the location of the default shortcuts shipped with gajim

  38. lovetox

    not the location of your user defined ones

  39. procrastinator

    oh, hmm i wonder then why it didn't work before

  40. procrastinator

    i'll try to reproduce this

  41. lovetox

    can again have many reasons, maybe show what you tried to change

  42. procrastinator

    ``` { "app.plugins": [], "app.preferences": [], "app.start-chat(['', ''])": [], } ```

  43. procrastinator

    i had this in ~/.config/gajim/shortcuts.json

  44. procrastinator

    didn't work, but when i moved that to ~/.config/gajim/other/shortcuts.json, the keybindings were unset

  45. procrastinator

    oh hmm only one is unset

  46. procrastinator

    ooops sorry!

  47. procrastinator

    different keybindings lol

  48. procrastinator

    i wanted to unset Ctrl-p, Ctrl-n, Ctrl-e

  49. procrastinator

    oh it looks like this line is wrong, "app.start-chat(['', ''])": [],

  50. lovetox

    last key in json is not allowed to end with ","

  51. procrastinator

    lovetox: thanks!

  52. procrastinator

    lovetox: it works now!

  53. fjklp

    ClapTrap: you have the option to enable the nightly package repository. You are a bit more likely to experience development bugs but it will be fresh. See 'nightly package' section https://gajim.org/download/#linux

  54. fjklp

    I set Preferences > Chats > Group Chats > Default Sync Threshold to 7 days, then joined a chat and it only synced 3 days of chat logs. Is this also limited by server-side config?

  55. procrastinator

    i have implemented partial support for XEP-0461: Message Replies !!

  56. fjklp

    Also, does gajim need to be restarted for this setting to be enabled?

  57. lovetox

    sync can not be applied for the past

  58. lovetox

    dont know how to describe it better, it only applies to future joins

  59. fjklp

    I think you mean you can't leave a chat, change the sync, join again and expect more history to download?

  60. lovetox

    or better said, its 7 days back OR back to the last message

  61. lovetox

    which ever is less

  62. fjklp

    This was a new join

  63. fjklp

    for the account I joined with, but I had been in the muc with a different account

  64. lovetox

    i dont think we apply that on new joins at all

  65. lovetox

    but we could, i think we didnt have this setting back then

  66. lovetox

    the default one

  67. procrastinator

    here's the diff: https://bpa.st/YWUQ

  68. procrastinator

    it can reply to messages using Ctrl-Shift-up/down

  69. procrastinator

    i've tested it on direct chats and it works there

  70. fjklp

    > but we could, i think we didnt have this setting back then Alright. Does gajim presently have a hard coded limit for new joins?

  71. fjklp

    I always thought of this setting as applying to new joins, so I imagine other people are affected by this wrong assumption too.

  72. lovetox

    yes 1 day its hardcoded

  73. lovetox

    i dont think it makes sense for a user to change that

  74. fjklp

    You say 1 day but it synced 3 days for me.

  75. Anon Ymous

    Speaking about shortcuts, while Undo via Ctrl-Z in the input field sort of works, but there's no Redo (Ctrl-Y)...

  76. fjklp

    procrastinator: this is already being worked on https://dev.gajim.org/gajim/gajim/-/issues/11075

  77. Anon Ymous

    > procrastinator: this is already being worked on https://dev.gajim.org/gajim/gajim/-/issues/11075 That issue you're linking is something completely different 😕

  78. fjklp

    Anon Ymous: are you sure?

  79. procrastinator

    it's this one: https://dev.gajim.org/gajim/gajim/-/merge_requests/881

  80. fjklp

    yeah

  81. procrastinator

    well, it works for now for me, i'll keep using this until someone properly implements it!

  82. fjklp

    I wasn't wrong

  83. fjklp

    it's the same issue

  84. procrastinator

    i would like to implement XEP-0444: Message Reactions as well but i'm not much familiar with gtk to make this one work

  85. Anon Ymous

    fjklp You're talking about something completely different than I was, that was what I meant. You replied to: >Speaking about shortcuts, while Undo via Ctrl-Z in the input field sort of works, but there's no Redo (Ctrl-Y)...

  86. Anon Ymous

    Has nothing to do with message replies

  87. procrastinator

    well, he was replying to me :D

  88. lovetox

    Anon Ymous, you can open a issue about it

  89. fjklp

    > fjklp You're talking about something completely different than I was, that was what I meant. You replied to: > > >Speaking about shortcuts, while Undo via Ctrl-Z in the input field sort of works, but there's no Redo (Ctrl-Y)... Anon Ymous look again at what I said, I did not reply to you

  90. Anon Ymous

    fjklp Shoot, I forgot my own name in this MUC, lol, and then totally misread, my apologies.

  91. fjklp

    no problem :)

  92. lucklypan

    https://0nl1ne.at:5443/upload/4f57fcabbaf026e1c1a61d9575134ae60a06c5cf/bLxm4h2fv90Shdan7k3d7eU6CnuQBfFl9gKHI7zr/c953848a-7800-4179-8568-f846d3340729.png

  93. lucklypan

    I can't log in to my account, anyone have any ideas?😔️

  94. qtc1113

    连接失败嘛

  95. lovetox

    you would need to translate that for us

  96. lucklypan

    是的 连接失败老哥 这种怎么弄