Handle EventRedacted case. Fixes #5569

This commit is contained in:
Benoit Marty 2026-02-24 12:38:20 +01:00
parent 441e4ad3fa
commit b3b22033aa
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.
*/