-
-
Notifications
You must be signed in to change notification settings - Fork 601
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
emit Room.redactionCancelled event when undoing redaction local echo
- Loading branch information
Showing
2 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I guess we're really emitting the cancelled redaction event, not the event that was redacted, right? This matches what happens for
Room.redaction
, so it's probably the right thing to emit, so we should just update this comment to match...? (Perhaps the comments forRoom.redaction
should also be corrected to say the event emitted there is the redaction itself, not the event that was redacted.)