From 38a60e108ad2aaa7c221cc8b406aa77575f63cf7 Mon Sep 17 00:00:00 2001 From: aringenbach Date: Thu, 6 Jul 2023 18:18:08 +0200 Subject: [PATCH] Fix formatting --- crates/matrix-sdk-ui/src/timeline/event_handler.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/matrix-sdk-ui/src/timeline/event_handler.rs b/crates/matrix-sdk-ui/src/timeline/event_handler.rs index 15e7bfe18e3..812428bfb45 100644 --- a/crates/matrix-sdk-ui/src/timeline/event_handler.rs +++ b/crates/matrix-sdk-ui/src/timeline/event_handler.rs @@ -937,7 +937,9 @@ impl<'a> TimelineEventHandler<'a> { for reaction_event_id in reactions { let reaction_id = EventItemIdentifier::EventId(reaction_event_id); - let Some((reaction_sender_data, annotation)) = self.reaction_map.get(&reaction_id) else { + let Some((reaction_sender_data, annotation)) = + self.reaction_map.get(&reaction_id) + else { error!( "inconsistent state: reaction from pending_reactions not in reaction_map" );