On 10/5/26 19:19, Violet via Standards wrote:
2. Does the specification solve the problem stated in the introduction
and requirements?
Mostly. I have a specific concern for retraction in 1:1 chats,
where retractions target the @id.
RFC 6120 states the @id can be unqiue to the stream, or across all streams
(aka "global"), where this is up to the sender.

For an XEP that uses @id to refer to *any* previously sent message,
even requiring supporters to use a global @id is not enough,
as the RFC also makes no mention of what happens to the @id outside of
that stream (only that entities use it to know some response was
a direct result of a stanza they sent within that stream).

Because of this, it seems to me that an entirely valid client implementation
is to count up from 0 for each stanza sent in that stream
(maybe due to lightweight requirements where there is no CSPRNG?),
and their server can route that stanza along with an entirely different @id,
as long as it remembers the link between that @id and the one the client used
for when a response is sent back to that client.

(I would also like to submit that, while such an implementation would be
expensive, and I cannot prove that implementations like this currently exist,
we should still take them into account as they are fully compliant, and
not doing so is how we make specifications that can be unreliable.)

Requiring entities to also not modify the @id when sending into
different streams would have considerations for entities that don't
support the specification (thus the @id can be different for others).
And if supporting entities don't modify an @id from an unsupporting entity,
that could also possibly break stream-uniqueness guarantees.
I am sure there are many similar issues.

An XEP which successfully uses @id in 1:1 is LMC, as it is explicitly limited
to the last message. Thus, if there are multiple messages from that entity
with that @id, the message to be corrected is the most recent one from them
at that time, with that @id.
If we want to target *any* previous message, this cannot be done.


3. Do you plan to implement this specification in your code? If not,
why not?
As it is currently written, no. I believe 0359's <origin-id/> would be one
possible solution for the above, as that element (and even the name of 0359)
seems to have been written specifically for this problem.
Looking at the commit history for 0424, this used to be the case until
~2 years ago! I would love to hear why it stopped being used.
Yes, I used <origin-id/> exactly for the reasons you've identified, but
removed it due to pushback from various quarters. People are of the
opinion that <origin-id/> is ugly and unnecessary.

Most modern clients make sure the message id is globally unique and
IIRC last time this was discussed it was mentioned that we should just
expect and rely on this, however AFAIK XEP-0359 doesn't actually
mandate it.

To me, LMC only allowing you to correct the last message is both
annoying and a cop-out.

<origin-id/> is still the solution, but some people are hell-bent on
getting rid of it.

I'll tighten up the text to state that the message id needs to be globally
unique.

JC