Gajim - 2024-06-17


  1. notnite

    on monocles it reports that gajim reactions send as unencrypted messages when using OMEMO

  2. notnite

    not sure if it's possible to encrypt them, or if this is intentional, but seems kind of dangerous

  3. aereaux

    It is not possible with the current version of OMEMO, only message content is encrypted

  4. mcneb10

    hey guys

  5. mcneb10

    i have a question especially for the core gajim devs

  6. mcneb10

    how hard is it to get started writing a xmpp client from scratch with an existing xmpp library

  7. mcneb10

    i ask this because there are a ton of xmpp clients out there and most of them are pretty bad, lets face it

  8. mcneb10

    gajim is one of the best

  9. mcneb10

    i'd like to try to write one but dont want to end up with yet another abandoned project

  10. concerto

    > Crash report - > https://conference.gajim.org:5281/pastebin/d3eab9b8-663d-4c27-b2a6-1b0f90c95c42 lovetox: this room itself (gajim@conference.gajim.org) is one of the rooms where the error occurs. In ~/.config/gajim/settings.db - account_settings table, the value of my account is `{"account": {"name": ... "address": "myjid@server.tld"} ,"contact": {...} ...}` ...so there _is_ an address key, what should I do in that case?

  11. lovetox

    concerto: can you try downgrading the user version

  12. lovetox

    concerto: can you try downgrading the user version to 5

  13. cal0pteryx

    Using SQLite browser for example

  14. concerto

    Oh, I was using `M-x sql-sqlite` in Emacs 😅️ I'm not familiar with working with JSON in SQLite, though...

  15. concerto

    (Figuring it out from tutorials)

  16. concerto

    cal0pteryx, lovetox: where is this user version? Can't seem to find it in settings.sqlite

  17. lovetox

    Google SQLite user vesion

  18. lovetox

    I think pragma user_version = 5

  19. concerto

    Thanks, let's see.

  20. lovetox

    Please check also if there are other accounts in the database

  21. lovetox

    And if they all have the address key

  22. concerto

    > I think pragma user_version = 5 https://conference.gajim.org:5281/pastebin/fe1c9e23-69ce-44bb-ba3f-183c6d752d31

  23. concerto

    > And if they all have the address key lovetox: according to `select account,json_extract (settings, '$.account.address') from account_settings;` I have 11 accounts, and only one does not have an address key.

  24. ic_

    I know it was a much requested feature but it would be great if reactions could be made optional or at least editable, I just find them a distraction.

  25. cal0pteryx

    They are editable. By clicking a reaction, you can toggle your own reaction

  26. nicoco

    I think they meant "hideable". I'm surprised that one would want that as one of the values of reactions is to improve signal to noise ratio in groups IMHO. (by avoiding replies such as "ok", "ack", "thanks", or "omg")

  27. lovetox

    concerto: that one is the problem, can you check name and hostname on that one?

  28. lovetox

    Do you see that account in the accounts dialog?

  29. ic_

    > They are editable. By clicking a reaction, you can toggle your own reaction Right click post it left click does nothing

  30. concerto

    > concerto: that one is the problem, can you check name and hostname on that one? lovetox: I can see it in the accounts dialog. Its JSON settings don't contain a name key, nor a hostname key.

  31. lovetox

    Can you send me the whole Jason?

    🦎 1
  32. lovetox

    Then delete the row from the db

  33. lovetox

    Afterwards it should work

  34. nicoco

    > Right click post it left click does nothing not sure what you mean, but the default behaviour is left click adds your reaction and removes it. you can't remove reactions from others if that's what you're looking for. right click on reactions does nothing, it's expected

  35. lovetox

    concerto: if you see it in the accounts dialog

  36. concerto

    lovetox: sent as an INSERT statement via PM; it has some personal contacts and MUCs, but it's strange...I don't have any password manager entry for any account on this server...

  37. lovetox

    You can simply remove it from gajim

  38. concerto

    Error when I try to remove it from the GUI... 😅

  39. concerto

    ## Versions: https://conference.gajim.org:5281/pastebin/0c78b31c-18eb-4716-87f9-38a7f8b8a9d1

  40. ic_

    > not sure what you mean, but the default behaviour is left click adds your reaction and removes it. you can't remove reactions from others if that's what you're looking for. right click on reactions does nothing, it's expected Yes I got the buttons the wrong way round but how do you edit them, I know you can choose for the other button but can you remove or choose the existing ones.

  41. ic_

    I mean the reaction icons

  42. ic_

    Just to clarify I would like to know if I can remove or reduce the size ie remove the icons for a feature that I do not use

  43. lovetox

    You can not hide the icons

  44. lovetox

    The same way you can not hide messages from usetlrs

  45. lovetox

    The same way you can not hide messages from users

  46. ic_

    An odd comparison, messages are what xmpp is about reactions are added fluff 😄️

  47. concerto

    > The same way you can not hide messages from users That's something I'd like. A "blocklist" which is synchronized between the user's clients, which hides messages instead of blocking them. Then we can later unhide them if desired, and we have a complete chat history at all times.

  48. concerto

    > The same way you can not hide messages from users That's something I'd like. A "blocklist" which is synchronized between the user's clients, which hides messages instead of blocking them. Then we can later unhide them if desired, and users have the full chat history at all times regardless of who they block.

  49. nicoco

    > An odd comparison, messages are what xmpp is about reactions are added fluff 😄️ I don't think it's odd, they convey information, eg, I use them in my work chats to quickly acknowledge messages I receive sometimes.

  50. 2125555555

    I cant figure out file transfer ?

  51. 2125555555

    can someone assist

  52. 2125555555

    windows 7 x64

  53. Michael

    How can I get Ubuntu to install latest version via apt? I get version 1.3.1 using apt. flatpak gets latest version.

  54. Michael

    on Release: 22.04 Codename: jammy

  55. concerto

    2125555555: do you see a paperclip button in any chat?

  56. cal0pteryx

    Michael: either update your ubuntu install or use flatpak

  57. Michael

    how do I update my ubuntu install?

  58. Michael

    a fresh install installs an older via

  59. Michael

    older version*

  60. cal0pteryx

    Ubuntu 24.04 is the latest release, that's what I meant by "update your ubuntu"

  61. cal0pteryx

    Or you just use flatpak

  62. Michael

    I am on pop_os to be exact. any way to get it to grab the latest gajim version without having to use flatpak?

  63. cal0pteryx

    Michael: you need to figure out if you are using the latest version of pop_os. If so, then yes, flatpak is your only option

    👍 1
  64. cal0pteryx

    You can track package updates here, but this "pop_os" isn't even listed https://repology.org/project/gajim/versions

  65. Michael

    ill just use flatpak then. thanks

  66. concerto

    lovetox: I removed it using SQLite and Gajim now works. Thanks. No idea how that account got there, since I don't even have a record of ever registering it...

  67. lovetox

    mcneb10, with a library you can relatively fast make a very very basic client, but then its basically a endless mountain you need to climb > 50% of the work is frontend, so you need to have a very good understanding of your GUI framework, and do a lot of styling and design work, can be an issue if you fun lies in programming, because client a client that has not a least a bit of beauty is no fun. Then you need to study many many different standards .. if you make a new client you have almost no user base, which can be an issue to get feedback

  68. lovetox

    i would suggest contribute to a client of your choice to get a bit into it, if after many contributions you still have the wish to do it yourself, at least you better know what you get into

  69. Nick

    Stupid question, if I'm an owner of a MUC, how do I remove a post? I'm running 1.9.0 which is supposed to support xep-0425, but I can't figure out how to use that support. I also couldn't find documentation on how to implement it. Could someone point me to documentation on gajims implementation of xep-0425?

  70. noizette

    Hi, I was hyped by 1.9 release, so I `flatpak update`'d, butt then I got this error : ImportError: cannot import name 'TypeAliasType' from 'typing_extensions' (/app/plugins/site-packages/typing_extensions.py)

  71. noizette

    Full trace here if needed: pastebin.com/cxvNChJF

  72. noizette

    Should I open an issue for that or is there a simple way of fixing I'm missing?

  73. ong

    noizette: try removing the omemo plugin

  74. ong

    inside of flatpak

  75. noizette

    ong: Yeeha, it's working! thanks, if it's frequent, maybe it could be added to the release note or something? :)

  76. ong

    hell ye

  77. noizette

    And thanks for this awaited release, btw :)

  78. lovetox

    Nick: menu on the message should have a moderate menu option

  79. lovetox

    but your server needs to support message moreation

  80. Nick

    > but your server needs to support message moreation This was it. Don't know how I missed the "muc_moderation" module. Thanks!

  81. mcneb10

    > i would suggest contribute to a client of your choice to get a bit into it, if after many contributions you still have the wish to do it yourself, at least you better know what you get into thanks for the info

  82. mcneb10

    i do know a lot about the XMPP protocol and XEPs and have written some existing apps

  83. mcneb10

    if a client using the language i want exists i guess i will fork that

  84. meson

    mcneb10: which language do you want to use?

  85. mcneb10

    i was thinking flutter because i have decent experience with it

  86. mcneb10

    i was thinking dart+flutter because i have decent experience with it

  87. mcneb10

    it has good libraries and compiles to every platform

  88. mcneb10

    no sure how good the XMPP libraries are though but multiple exist

  89. mcneb10

    not sure how good the XMPP libraries are though but multiple exist

  90. mcneb10

    https://github.com/BlueBubblesApp/bluebubbles-app

  91. mcneb10

    this is a pretty good example of what flutter is capable of

  92. mcneb10

    ok nevermind soemone is already making my idea

  93. mcneb10

    https://codeberg.org/moxxy/moxxy

  94. mcneb10

    seems promising, will contribute

  95. lovetox

    mcneb10, yes i think its important to have some kind of community where you integrate, even if its only 2-3 people or devs

  96. lovetox

    if you do all alone, it likely will end as a forgotten side project

  97. lovetox

    if you get together with a few people, some people will always have time and carry on, and you can later again contribute if the time allows

  98. bodqhrohro

    > mcneb10: > if a client using the language i want exists i guess i will fork that I wonder if there is a Jabber client in Lisp. Besides of jabber.el.

  99. debacle

    > I wonder if there is a Jabber client in Lisp. Besides of jabber.el. I'm not aware of one. jabber.el needs love, however. IIRC, it does not support any of the features taken for granted nowadays, HTTP Upload, LMC, MAM, OMEMO, let alone message reactions and replies, A/V calls or PEP microblogging.

  100. luca

    Hi, I was wondering if it's possible to get the top menu after hiding it once, and if so how?

  101. cal0pteryx

    luca: ctrl+m

  102. cal0pteryx

    We really need that menu button

  103. luca

    Thanks :D

  104. bodqhrohro

    > debacle: > I'm not aware of one. jabber.el needs love, however. IIRC, it does not support any of the features taken for granted nowadays, HTTP Upload, LMC, MAM, OMEMO, let alone message reactions and replies, A/V calls or PEP microblogging. I don't take anything of that as granted, I believe only in core XMPP as of 2001 :P

  105. bodqhrohro

    And condemn the discrimination of clients that don't support any of fancy XEPs. And especially the ModernXMPP movement.

  106. bodqhrohro

    In fact, many of fancy XEPs of the past are already forgotten and are not implemented at all in new clients like Dino or Kaidan. Same might happen with all that reactions and microblogging when the hype is gone.

  107. bodqhrohro

    Even OMEMO, despite actively being promoted as a musthave, is not cast in stone. OMEMO2 is ongoing, MLS too, and OX. So we're heading to a situation with many incompatible encryptions again (or OMEMO just outlives all of them, hehe). While plaintext is always plaintext. Same happens in e-mail: neither HTML nor PGP nor Autocrypt became a musthave.

  108. cal0pteryx

    A standard evolves. Holding on to old stuff isn't necessarily good, and sometimes even hinders evolution.

  109. debacle

    bodqhrohro I can well live without one or the other newer XEP. But MAM and HTTP Upload a.k.a. cat content are must haves. And stickers, of course.

  110. bodqhrohro

    > cal0pteryx: > A standard evolves. Holding on to old stuff isn't necessarily good, and sometimes even hinders evolution. Holding on to old stuff distinguishes successful, serious and reliable things from hype bubbles which come and go. And the FOSS community is too small to inflate hype bubbles, and too sluggish to keep up with existing ones.

  111. bodqhrohro

    > debacle: > bodqhrohro I can well live without one or the other newer XEP. But MAM and HTTP Upload a.k.a. cat content are must haves. And stickers, of course. What's even the purpose of stickers? You can have a pack of "stickers" in a local folder. And reuse the links, if you care about server pollution. Merely client-side feature to me.

  112. bodqhrohro

    I don't consider MAM a musthave for MUCs, as they had HTML logs well for decades. And the flaws of personal chats (which I didn't notice in 10s, because I barely used Jabber for personal communication then) can be circumvented by replacing them with MUCs as well. Like in Matrix, where no separate type of rooms exists for private chats at all.

  113. cal0pteryx

    bodqhrohro: you seem to reject anything modern, which makes this discussion pointless

  114. bodqhrohro

    > cal0pteryx: > bodqhrohro: you seem to reject anything modern, which makes this discussion pointless Not anything.

  115. bodqhrohro

    Only breaking changes.

  116. bodqhrohro

    How does WinAPI survive without breaking changes for >30 years?

  117. bodqhrohro

    It's awful for sure, but purists are unwelcomed in serious engineering anyway.

  118. cal0pteryx

    so, don't implement omemo, reactions, stickers, because, you know, the "hype" may blow over? rather have dysfunctional encryption, no new features, just for the sake of keeping alive old things?

  119. bodqhrohro

    > cal0pteryx: > so, don't implement omemo, reactions, stickers, because, you know, the "hype" may blow over? rather have dysfunctional encryption, no new features, just for the sake of keeping alive old things? According to UNIX way, encryption should be handled separately from the IM. Even for Android, OpenKeychain exists. I'd hope some independent daemon like that would emerge from MLS, but nah.

  120. cal0pteryx

    Like I said, you'd rather stagnate than progress

  121. bodqhrohro

    In e-mail any new features are opt-in, web users of GMail with chat-like presentation and read receipts, and Claws Mail luddites retrieving mail via POP to their only PC, barely bother each other.

  122. cal0pteryx

    So? Nobody forces you to use omemo, reactions, or stickers

  123. bodqhrohro

    > cal0pteryx: > So? Nobody forces you to use omemo, reactions, or stickers Even those who send OMEMO encrypted messages so users of legacy clients just cannot see them?

  124. bodqhrohro

    OMEMO is totally borked for that matter if compared to MegOLM. Only after a while, you may notice that messages are not encrypted for some of clients after a change of sessions set. So they end up non-decryptable there. And there's no way to decrypt them asynchronously.

  125. bodqhrohro

    And PFS fans promote that as a benefit, hehe.

  126. bodqhrohro

    Even though that makes MAM useless to a high extent.

  127. cal0pteryx

    Tell your friends to chat unencrypted then

  128. bodqhrohro

    Why sync encrypted messages if you cannot decrypt them anymore anyway?

  129. bodqhrohro

    > cal0pteryx: > Tell your friends to chat unencrypted then They won't, they're poisoned by the Snowden paranoia.

  130. bodqhrohro

    Even though they lived well before somehow.

  131. bodqhrohro

    Boomers did even use landline phones where a human operator can intrude or eavesdrop at any moment.

  132. cal0pteryx

    bodqhrohro: please stop rambling

  133. bodqhrohro

    Conversations on 1G phones could be listened by anyone with a usual UHF TV.

  134. cal0pteryx

    ..or leave

  135. bodqhrohro

    > cal0pteryx: > ..or leave Or get the second account banned.

  136. cal0pteryx

    I see you've been banned before. consider this your final warning then

  137. bot

    wurstsalat pushed 1 commits to branch gajim/master imprv: ConversationView: Use better method for scrolling to row - https://dev.gajim.org/gajim/gajim/-/commit/1c98f8e2583a85b88ed2a7c82f41334fec3a38ee

  138. fjklp

    🤔️

  139. 57345955

    hello

  140. 57345955

    how can i add a custom zip plugin to gajim flatpak_

  141. bot

    wurstsalat pushed 1 commits to branch gajim/master fix: DebugConsole: Fix filtering stanzas when combining accounts and types - https://dev.gajim.org/gajim/gajim/-/commit/ac58d8849f7cb3b269d5c76a39f23dd659ebbdd3

  142. hannibal

    57345955, it's recommended to use flatpak-builder to build the plugin

  143. 57345955

    so are there any example instructions?

  144. hannibal

    For examples see https://dev.gajim.org/gajim/gajim-plugins/-/tree/master/flatpak

  145. hannibal

    57345955: ``` flatpak-builder --user --repo=gajim_flatpak_repo --install-deps-from=flathub --force-clean --default-branch=stable ~/Gajim/gajim_flatpak ~/Gajim/flatpak/your_plugin.yaml flatpak --user install gajim_flatpak_repo org.gajim.Gajim.plugin.your_plugin ``` Skip `--user` if you have a system installation of Gajim. Verify the default branch. You can check both with output of `flatpak list `.