ircv3-specifications icon indicating copy to clipboard operation
ircv3-specifications copied to clipboard

chathistory: add chathistory-context tag

Open emersion opened this issue 2 years ago • 2 comments

See discussion at https://github.com/ircv3/ircv3-specifications/pull/524#discussion_r1214155605

emersion avatar Jun 14 '23 13:06 emersion

I support this! I would have relaxed "MUST immediately follow" to "MUST appear after", but the language here works for me as long as it's helpful to clients.

slingamn avatar Jun 14 '23 19:06 slingamn

The intent here is to allow clients to figure out which message is the parent of a context message. For instance, a client might want to populate a "parent_context" column in its DB, to retrieve all the context messages attached to a parent message when locally fetching history.

That said, with msgid tags, it should be possible to reconstruct the relationships client-side, at least for context messages that the client understands.

Is the mandated behavior an issue for server implementors?

emersion avatar Jun 15 '23 07:06 emersion