XSF Discussion - 2022-08-15


  1. edhelas

    A message that only contains an origin-id cannot be quoted in the sens of XEP-0461: Message Replies ?

  2. edhelas

    Same question for XEP-0444: Message Reactions actually

  3. edhelas

    From a MUC, because the origin-id can be send twice by different sources

  4. Zash

    wah

  5. Zash

    did you mean stanza-id?

  6. Zash

    origin-id needs to go away

  7. edhelas

    https://xmpp.org/extensions/xep-0359.html#origin-id

  8. Zash

    those don't have message@id

  9. Zash

    what you see in the wild is messages with both message@id and origin-id, with the same big uuid

  10. Zash

    twice!

  11. edhelas

    ok

  12. Zash

    should the reply@to point to the room itself?

  13. Zash

    should the {urn:xmpp:reply:0}reply@to point to the room itself?

  14. edhelas

    It will take me a few hours to wrap my head again against all those cases, it's pretty complex

  15. edhelas

    It's maybe the 4th or 5th time I'm fixing things

  16. edhelas

    https://xmpp.org/extensions/xep-0444.html#sending-reactions

  17. edhelas

    If <origin-id> is present, can I just avoid to handle <message id=""> ?

  18. edhelas

    Looks like the same thing to me except one of both is a proper UUID

  19. edhelas

    > The message is referred to by including its id or in MUCs its stanza-id as defined in Unique and Stable Stanza IDs (XEP-0359) [4] in the 'id' attribute of the reactions element.

  20. edhelas

    This is the logic for reactions, and for replies its worded differently

  21. edhelas

    https://xmpp.org/extensions/xep-0461.html#business-id

  22. edhelas

    To me both XEPs (message replies and message reactions) should have exactly the same logic Also I'd be happy to simply drop the message "id" part. I think a modern client should be able to handle XEP-0359: Unique and Stable Stanza IDs if they support Message Replies and/or Message Reactions.

  23. edhelas

    Then the logic should be written at only one place and all the XEPs that replies on doing something on a message should rely on that unique logic. To me the logic to ensure that we are replying/reacting to a unique message would be: - If type = chatroom, check stanza-id with a by from the MUC JID - If other type, check origin-id That's it

  24. edhelas

    *that relies on doing something