Skip to content

Commit

Permalink
Clarify paragraph about sending REDACT in on-JOIN chathistory batch (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
progval authored May 4, 2024
1 parent ec0162d commit aeef7b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extensions/message-redaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Such use cases might include:
* Allowing channel moderators or server admins to delete unwelcome messages from others
* Specifying a cut-off time after which message edits are no longer allowed

If a message is redacted while a client is not present in a channel, servers may send the `REDACT` command in a `chathistory` batch when it re-joins the channel.
Servers may send `REDACT` commands in [`chathistory` batches] sent to clients on joining a channel.

If servers use predictable or guessable `msgid`s, they should consider whether errors
returned on `REDACT` may leak a message's existence to users who did not receive it
Expand Down Expand Up @@ -204,3 +204,4 @@ Deleting someone else's PRIVMSG:
[`message-tags`]: ../extensions/message-tags.html
[`msgid`]: ../extensions/message-ids.html
[`chathistory`]: ../extensions/chathistory.html
[`chathistory` batches]: ../batches/chathistory.html

0 comments on commit aeef7b6

Please sign in to comment.