jdev - 2026-02-23


  1. edhelas

    Yes

  2. lol

    randomly this group's avatar disappears. I thouht it was my homebrew client's bug but hey this also happens on Dino I noticed. So on the bright side my client doesn't have a bug.

  3. nicoco

    > oh that's huge, a quick skim of the latter suggests it handles hats exactly as i expected, as well as a few other things i was thinking about :O FYI the author of this draft does not want to be involved with XSF anymore and does not mind anybody taking ownership and submitting it, last time I talked to him about that. I don't want to do it since I'm already in over my hand with what I submitted so far and have been delaying writing a new "gateway interaction" XEP for too long…

  4. lol

    randomly this group's avatar disappears. I thouht it was my homebrew client's bug but hey this also happens on Dino I noticed. So on the bright side it's not my client that has the bug.

  5. nicoco

    lol: might be https://issues.prosody.im/1922 if it runs prosody < 13.0.3 I guess

  6. jjj333_p (any pronouns)

    okay im looking into parsing for moderations, https://xmpp.org/extensions/xep-0425.html#usecase-success implies that the moderated stanza will include a by atribute, however when comparing to what i recieve when redacting from gajim i get no by element on the moderated stanza, but instead it also contains what seems to be a retraction with the by? im so confused how i would parse for the responsible moderator example xml: ```xml <message from="chaos@group.pain.agency" type="groupchat" id="j48ND8rQp3q11naJvgnZlEA1" to="urban_envs.net@koishi.pain.agency"> <apply-to xmlns="urn:xmpp:fasten:0" id="019c88ef-61b5-70a1-982e-2a1affed9e40"> <moderated xmlns="urn:xmpp:message-moderate:0" by="chaos@group.pain.agency/m0rph"> <occupant-id xmlns="urn:xmpp:occupant-id:0" id="5+SVWYtKhNCuKF12Vt8gILsLFG1oTtPL5OvfplZP3X0="/> <retract xmlns="urn:xmpp:message-retract:0"/> <reason>Spam</reason> </moderated> </apply-to> <occupant-id xmlns="urn:xmpp:occupant-id:0" id="fIJ0LFEqnN+NcZJfKnoY2/PRBsMwBFtS1QfzBDzPMZU="/> <retract xmlns="urn:xmpp:message-retract:1" id="019c88ef-61b5-70a1-982e-2a1affed9e40"> <moderated xmlns="urn:xmpp:message-moderate:1"> <occupant-id xmlns="urn:xmpp:occupant-id:0" id="5+SVWYtKhNCuKF12Vt8gILsLFG1oTtPL5OvfplZP3X0="/> </moderated> <reason>Spam</reason> </retract> <stanza-id xmlns="urn:xmpp:sid:0" by="chaos@group.pain.agency" id="019c88fd-3b8d-7d26-b67e-dc5ad948f1d2"/> </message> ```

  7. jjj333_p (any pronouns)

    okay im looking into parsing for moderations, https://xmpp.org/extensions/xep-0425.html#usecase-success implies that the moderated stanza will include a by atribute, however when comparing to what i recieve when redacting from gajim i get no by element on the moderated stanza, but instead it also contains what seems to be a message fastening with the by? im so confused how i would parse for the responsible moderator example xml: ```xml <message from="chaos@group.pain.agency" type="groupchat" id="j48ND8rQp3q11naJvgnZlEA1" to="urban_envs.net@koishi.pain.agency"> <apply-to xmlns="urn:xmpp:fasten:0" id="019c88ef-61b5-70a1-982e-2a1affed9e40"> <moderated xmlns="urn:xmpp:message-moderate:0" by="chaos@group.pain.agency/m0rph"> <occupant-id xmlns="urn:xmpp:occupant-id:0" id="5+SVWYtKhNCuKF12Vt8gILsLFG1oTtPL5OvfplZP3X0="/> <retract xmlns="urn:xmpp:message-retract:0"/> <reason>Spam</reason> </moderated> </apply-to> <occupant-id xmlns="urn:xmpp:occupant-id:0" id="fIJ0LFEqnN+NcZJfKnoY2/PRBsMwBFtS1QfzBDzPMZU="/> <retract xmlns="urn:xmpp:message-retract:1" id="019c88ef-61b5-70a1-982e-2a1affed9e40"> <moderated xmlns="urn:xmpp:message-moderate:1"> <occupant-id xmlns="urn:xmpp:occupant-id:0" id="5+SVWYtKhNCuKF12Vt8gILsLFG1oTtPL5OvfplZP3X0="/> </moderated> <reason>Spam</reason> </retract> <stanza-id xmlns="urn:xmpp:sid:0" by="chaos@group.pain.agency" id="019c88fd-3b8d-7d26-b67e-dc5ad948f1d2"/> </message> ```

  8. jjj333_p (any pronouns)

    slixmpp seems to pick up the moderation but not the fastening, and not the reason of the moderation

  9. jjj333_p (any pronouns)

    https://downloadable.pain.agency/file_share/019c8976-5093-75d4-a061-de998e53b221/781d207c-0ada-40ad-b896-811284840677.png

  10. jjj333_p (any pronouns)

    actually slixmpp doesnt seem to even have a way to capture the id im moderating

  11. nicoco

    fastening is abandoned

  12. nicoco

    maybe slixmpp has not been updated to reflect that, current XEP-0425 does not depending on fastening anymore, it has a new syntax

  13. jjj333_p (any pronouns)

    sorry i brought the lack of parsing to the slixmpp chat.

  14. jjj333_p (any pronouns)

    > okay im looking into parsing for moderations, https://xmpp.org/extensions/xep-0425.html#usecase-success implies that the moderated stanza will include a by atribute, however when comparing to what i recieve when redacting from gajim i get no by element on the moderated stanza, but instead it also contains what seems to be a message fastening with the by? im so confused how i would parse for the responsible moderator > example xml: > ```xml > <message from="chaos@group.pain.agency" type="groupchat" id="j48ND8rQp3q11naJvgnZlEA1" to="urban_envs.net@koishi.pain.agency"> > <apply-to xmlns="urn:xmpp:fasten:0" id="019c88ef-61b5-70a1-982e-2a1affed9e40"> > <moderated xmlns="urn:xmpp:message-moderate:0" by="chaos@group.pain.agency/m0rph"> > <occupant-id xmlns="urn:xmpp:occupant-id:0" id="5+SVWYtKhNCuKF12Vt8gILsLFG1oTtPL5OvfplZP3X0="/> > <retract xmlns="urn:xmpp:message-retract:0"/> > <reason>Spam</reason> > </moderated> > </apply-to> > <occupant-id xmlns="urn:xmpp:occupant-id:0" id="fIJ0LFEqnN+NcZJfKnoY2/PRBsMwBFtS1QfzBDzPMZU="/> > <retract xmlns="urn:xmpp:message-retract:1" id="019c88ef-61b5-70a1-982e-2a1affed9e40"> > <moderated xmlns="urn:xmpp:message-moderate:1"> > <occupant-id xmlns="urn:xmpp:occupant-id:0" id="5+SVWYtKhNCuKF12Vt8gILsLFG1oTtPL5OvfplZP3X0="/> > </moderated> > <reason>Spam</reason> > </retract> > <stanza-id xmlns="urn:xmpp:sid:0" by="chaos@group.pain.agency" id="019c88fd-3b8d-7d26-b67e-dc5ad948f1d2"/> > </message> > ``` this xml was the debug log though, unparsed, so idk why theres no by=

  15. jjj333_p (any pronouns)

    and i guess prosody is just sending the fastening anyways?

  16. nicoco

    I think you can ignore the fastening part, and that prosody let that payload for compatibility reasons

    πŸ‘ 1
  17. nicoco

    I think you can ignore the fastening part, and that prosody kept that payload for compatibility reasons

  18. lovetox

    jjj333_p (any pronouns): you need only to look at the namespace you want to implement

    πŸ‘ 1
  19. lovetox

    I would not recommend to implement moderate:0

    πŸ‘ 1
  20. mathieui

    jjj333_p (any pronouns), slixmpp is picking up urn:xmpp:message-retract:1 / moderate:0 which is the current version and not the fastening-based one, which looks correct

    πŸ‘ 1
  21. lovetox

    But we are at moderate:1

  22. mathieui

    jjj333_p (any pronouns), slixmpp is picking up urn:xmpp:message-retract:1 / moderate:1 which is the current version and not the fastening-based one, which looks correct

  23. mathieui

    lovetox, yes, I made a typo

  24. MattJ

    It looks like 'by' is optional, and the occupant-id of the actor is included anyway, which seems better to use

    πŸ‘ 1
  25. jjj333_p (any pronouns)

    > the occupant-id of the actor is included anyway, which seems better to use fair, just a bit more annoying for this use case