From 03ba77a5777459bd5122f097804745083b2a4d38 Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Tue, 3 May 2022 12:36:31 +0900 Subject: [PATCH] Restore filter --- plume-common/src/activity_pub/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/plume-common/src/activity_pub/mod.rs b/plume-common/src/activity_pub/mod.rs index eb906c5c..1cc2633c 100644 --- a/plume-common/src/activity_pub/mod.rs +++ b/plume-common/src/activity_pub/mod.rs @@ -127,6 +127,7 @@ where { let boxes = to .into_iter() + .filter(|u| !u.is_local()) .map(|u| { u.get_shared_inbox_url() .unwrap_or_else(|| u.get_inbox_url())