inspircd
inspircd copied to clipboard
m_chanhistory: Use message tags
In order to allow scripts, clients, etc. to handle history replay's correctly, the m_chanhistory
module should use message tags to properly identify the replayed history.
To see an example of how it can impact client developers, see cinch issue 193.
It would also be nice if server time was implemented as well.
Note: I'm not super familiar with the IRC protocol and am relaying a feature request described by @dominikh. He may be able to provide more information if technical details are needed.
~~I don't think this will be possible for 2.2 as we need to rework all of our internal message handling stuff for message tags. Maybe 2.3.~~
Sounds great!
This is trivial to implement because of the way how m_chanhistory works, it sends raw messages that we can format differently for server-time capable clients.
:+1:
Based on the initial comment on this issue, I interpret it to mean he wants both server-time tag and another tag to describe that it's specifically history.
Other than server-time
, what kind of tag are you thinking of?
@kaniini Presumably the tag/commands from batch-3.2
.
Oh, he didn't mention BATCH
. Okay, that makes sense.
This was resolved in v3 but I missed the issue, oops!