fix: only notify listeners of edits and redactions their sender may make
CA
1d ago+425+425+012345678901234567890123456789-5-5-0123456789
Fixes CORE-2736
Summary by CodeRabbit
- Bug Fixes
- Notifications now skip message edits when the original message is missing or the edit fails validation.
- Redaction notifications are sent only when the target exists and the redaction is permitted. Redactions targeting events in another room or room-creation events, or lacking required permissions, do not trigger notifications.
- Invalid or unauthorized events are no longer emitted as notifications.