[Standards] Clarify meaning of pubsub#item_expire: creation or modification?

Martin debacle at debian.org
Fri Sep 17 15:58:56 UTC 2021


On 2021-09-17 13:22, goffi wrote:
> there is no notion of "modification" in XEP-0060: an item with an
> existing ID is overwritten by a new item with same ID, not
> modified. The notion of modification has been introduced in XEP-0413
> (Order-By) that I've authored, because it's useful, but it's not part
> of XEP-0060.
>
> Thus, in the case of pubsub#item_expire, it can only reference the
> date of items creation (so if item A' with the same ID as item A is 
> published, it's the date of A' creation which is used, and A doesn't
> exist anymore).

Oh, I see. Thanks for the explanation! Then the patch might not be
necessary for XEP-0060. XEP-0413 does not mention expiration, which is
fine.

I still think, it might be useful to clarify the issue *somewhere*, just
to avoid any doubts.

Cheers


More information about the Standards mailing list