jdev - 2026-09-02


  1. jjj333_p (any pronouns)

    i'm familiarizing myself with halcyon (tigase kotlin xmpp lib) and i made a simple muc echo bot, and somehow the messages started coming from the muc itself???

  2. jjj333_p (any pronouns)

    https://downloadable.pain.agency/file_share/01a060a6-6b95-7228-bfca-dd25f1d4a514/dd35ef39-1c88-4d4c-be18-14f68f3b1c03.png

  3. jjj333_p (any pronouns)

    ran it again with xml console in gajim open, and the xml looks ...normal? perhaps this is a gajim bug? or is something else subtly off? ```xml <!-- Incoming Tue 01 Sep 2026 07:49:50 PM HST (jjj333@pain.agency) --> <message xmlns="jabber:client" xml:lang="en" from="chaos@group.pain.agency/fart" to="jjj333@pain.agency/gajim.A0Q0EO69" id="KHLYap4SeymebRXSFfUKoy8B"> <body>Echo: im just using a weird library in a language im not familiar with</body> <request xmlns="urn:xmpp:receipts" /> <origin-id xmlns="urn:xmpp:sid:0" id="KHLYap4SeymebRXSFfUKoy8B" /> <x xmlns="http://jabber.org/protocol/muc#user" /> <occupant-id xmlns="urn:xmpp:occupant-id:0" id="95bDvTl1PF4uZawuKjfbxmZEQ5w2P9Kww9bcZ5Wk0pA=" /> <stanza-id by="jjj333@pain.agency" id="01a060aa-a0ed-7431-b03a-5f937fc7462c" xmlns="urn:xmpp:sid:0" /> </message> ```

  4. lovetox

    Wild conclusion, Gajim does what I expect it to, must be a Gajim Bug

  5. jjj333_p (any pronouns)

    > Wild conclusion, Gajim does what I expect it to, must be a Gajim Bug ?

  6. jjj333_p (any pronouns)

    i dont expect gajim to use the name of the muc as the accounts nickname, when thats not the resource string

  7. jjj333_p (any pronouns)

    as i said it could be something subtle i dont see in the xml being wrong, but the whole point is the behavior is unexpected

  8. lovetox

    I would begin with the message type

  9. Sunglocto

    u should be sending it with type groupchat

  10. jjj333_p (any pronouns)

    yes i know

  11. jjj333_p (any pronouns)

    i did completely miss that its missing the type, surprised that it was still allowed through the muc component though

  12. jjj333_p (any pronouns)

    i thought type was mandatory

  13. lovetox

    It is, but it has a default

  14. lovetox

    "normal"

  15. jjj333_p (any pronouns)

    mhmm

  16. lovetox

    So it's kinda not mandatory to add to the stanza, but always there anyway

  17. lovetox

    Still weird that it reflects the message

  18. lovetox

    Would not expect that

  19. jjj333_p (any pronouns)

    halcyon seems to not have support for setting a type? i feel like im swimming uphill over here

  20. jjj333_p (any pronouns)

    > i did completely miss that its missing the type, surprised that it was still allowed through the muc component though (for future context, i'm running prosody)

  21. jjj333_p (any pronouns)

    https://downloadable.pain.agency/file_share/01a060cf-c754-7714-be80-bd3638d94c6e/7b79fc5a-0ecc-4401-bd79-1c2fc539a24e.png

  22. jjj333_p (any pronouns)

    it looks like it should be setting the type but its not for some reason. this is the definition of the halcyon function im calling

  23. jjj333_p (any pronouns)

    nvm thats just a message builder, ive somehow found myself in factory hell 😔

  24. jjj333_p (any pronouns)

    > Still weird that it reflects the message apparently if i add an oob element, it will then not reflect the message

  25. jjj333_p (any pronouns)

    fantastic

  26. lovetox

    ah singpolyma, i remember now again why i join the error wrong

  27. lovetox

    the thing is, that servers are not forced to include any payload in an error at all

  28. lovetox

    this means you can receive an error and never know it was a PM

  29. lovetox

    you would indeed need to lookup the message id in your own database

  30. lovetox

    so in this case presented, what would i find in my database? a normal groupchat message

  31. lovetox

    oh lol, and yes i look up the message in the database, find the groupchat message, and thats why the error is then at the groupchat message

  32. lovetox

    though i always look it up, and dont take the payload if its included, which i should change

  33. lovetox

    i think this is still a server bug ..

  34. lovetox

    if receive a type=groupchat message as remote server, it probably should not return an error to the fulljid ..

  35. singpolyma

    Oh it's for sure the target doing something kinda dumb