Handle EventRedacted case. Fixes #5569

This commit is contained in:
Benoit Marty 2026-02-24 12:38:20 +01:00
parent 1c5f185d6a
commit 43319f6e90
3 changed files with 21 additions and 0 deletions

View file

@ -22,6 +22,11 @@ sealed class NotificationResolverException : Exception() {
*/
data object EventFilteredOut : NotificationResolverException()
/**
* The event was found but it has been redacted.
*/
data object EventRedacted : NotificationResolverException()
/**
* An unexpected error occurred while trying to resolve the event.
*/