Files
element-x-android/libraries/push
hayaksi1 bc20e64c61 Do not notify about a redaction whose target event is unknown
A redaction push whose redacts field the SDK could not map was reported as
an unknown error. The result processor only suppresses filtered-out and
redacted events; every other exception becomes a visible "you have N
notifications" fallback and also raises the battery optimisation banner.

So a deleted message could produce a notification about itself, which is
the opposite of what a redaction means, plus an unrelated banner.

The branch now throws EventFilteredOut, which the processor already drops
silently, and logs at warning level so the SDK gap still shows up in push
history.

Relates to https://github.com/element-hq/element-x-android/issues/5766
2026-08-09 04:09:35 +03:00
..