From 8df27847ce118a61b66634c60294fe256dc4cdda Mon Sep 17 00:00:00 2001 From: alemi Date: Mon, 24 Jun 2024 02:17:42 +0200 Subject: [PATCH] fix: insert activities this isnt enough but its something --- upub/core/src/traits/process.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/upub/core/src/traits/process.rs b/upub/core/src/traits/process.rs index d62eb753..e514f9d7 100644 --- a/upub/core/src/traits/process.rs +++ b/upub/core/src/traits/process.rs @@ -455,8 +455,7 @@ pub async fn announce(ctx: &crate::Context, activity: impl apb::Activity, tx: &D // or maybe create new addressing rows with more recent dates // or maybe create fake objects that reference the original one // idk!!!! - - if ctx.is_local(&actor.id) { + if actor.actor_type == apb::ActorType::Person || ctx.is_local(&actor.id) { ctx.insert_activity(activity, tx).await?; }