Skip to content

Commit

Permalink
ui: Do not warn when no reaction to redact was found
Browse files Browse the repository at this point in the history
The `handle_reaction_redaction` method is called by `handle_redaction`
for every single redaction event that we receive as a first step to
check if the redaction matches a reaction.
It means that not finding a reaction to redact is perfectly fine and is not worthy of a warning.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
  • Loading branch information
zecakeh committed Oct 4, 2024
1 parent 5d46b35 commit 0a0ab89
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/matrix-sdk-ui/src/timeline/event_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,6 @@ impl<'a, 'o> TimelineEventHandler<'a, 'o> {
}
}

warn!("Reaction to redact was missing from the reaction or user map");
false
}

Expand Down

0 comments on commit 0a0ab89

Please sign in to comment.