Modern XMPP project discussion - 2021-12-24


  1. raucao

    so, the adjusted question then is: do clients usually track both message ID and stanza ID if they are different? or am i missing something?

  2. lovetox

    raucao, forget origin-id

  3. lovetox

    correction works with message-id

  4. lovetox

    it does not matter what stanza-id is

  5. raucao

    so you never need stanza IDs, for anything?

  6. lovetox

    of course you need it for something

  7. lovetox

    but not for last message correction

  8. lovetox

    stanza-id is the id the message has in the archive of the server

  9. lovetox

    you need it for example when you query history from this server

  10. lovetox

    then you need to tell it from which stanza-id on you want history

  11. lovetox

    https://xmpp.org/extensions/xep-0308.html you can read about it here

  12. lovetox

    i scanned it, and i did not see any mention of stanza-ids

  13. lovetox

    so not sure how you got the idea that this has to do something with message correction

  14. raucao

    I never said anything of the sort

  15. raucao

    Read the logs

  16. raucao

    The question is if clients commonly keep track of the two different IDs for every message

  17. raucao

    To which the answer seems to be yes now

  18. raucao

    > i guess they have to, if they implement both MAM as well as things like message correction, right?

  19. lovetox

    ok yes i didnt read the whole conversation, just saw you ask about replace id

  20. lovetox

    yes you need to store both ids if you want to use MAM

  21. lovetox

    or implement MAM

  22. lovetox

    some XEPs depend on stanza-id, some on message id

  23. raucao

    cool, thx