irctest.server_tests.redact

IRCv3 draft message-redaction

RedactTestCase

ergo
sable
testCantRedactOthersPrivmsg

Tests that a non-operator cannot redact another user's message.

.s
testOpRedactOthersPrivmsg

Tests that a channel operator can redact another user's message.

.s
testOpRedactSelfPrivmsg

Tests that a channel operator can redact a message they sent themselves.

.s
testRedactInvalidTarget

Test redacting with an invalid target.

.s
testRedactNotRelayedToNonSupportingClients

Test that REDACT is not sent to clients without the capability.

.s
testRedactTagmsg

Test redaction of a TAGMSG.

.s
testRedactUnknownMsgid

Test redacting a message with an unknown msgid.

.s
testRedactWithReason

Test redaction with a reason parameter.

.s
testRedactedMessageDisappearsFromChathistory

Test that redacted messages are excluded from CHATHISTORY responses.

Per the spec, after a message is redacted, CHATHISTORY responses SHOULD either: - Exclude it entirely, OR - Include a REDACT message after the redacted message

.d

RedactWithServicesTestCase

ergo
sable
testRedactDirectMessage

Test redacting a direct message between two users.

.s