From ad4e214d28b39937a29423f69a4dae23f94b559e Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Fri, 12 Apr 2024 19:20:11 -0700 Subject: [PATCH] polylogarithmic debodge Signed-off-by: Jason Volk --- src/service/rooms/event_handler/mod.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/service/rooms/event_handler/mod.rs b/src/service/rooms/event_handler/mod.rs index 58aac009..d2c468f0 100644 --- a/src/service/rooms/event_handler/mod.rs +++ b/src/service/rooms/event_handler/mod.rs @@ -538,9 +538,7 @@ impl Service { // Remove any forward extremities that are referenced by this incoming event's // prev_events for prev_event in &incoming_pdu.prev_events { - if extremities.contains(prev_event) { - extremities.remove(prev_event); - } + extremities.remove(prev_event); } // Only keep those extremities were not referenced yet