From f1ff9462455625f16e141923af943dde72f33d67 Mon Sep 17 00:00:00 2001 From: alemi Date: Mon, 15 Apr 2024 21:29:30 +0200 Subject: [PATCH] fix: also store public addrs for remote activities oopsss thank you @prefetcher --- src/server/context.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/context.rs b/src/server/context.rs index 6b0f59c..d7c7bf9 100644 --- a/src/server/context.rs +++ b/src/server/context.rs @@ -162,7 +162,7 @@ impl Context { .iter() .filter(|to| !to.is_empty()) .filter(|to| !to.ends_with("/followers")) - .filter(|to| local_activity || self.is_local(to)) + .filter(|to| local_activity || to.as_str() == apb::target::PUBLIC || self.is_local(to)) .map(|to| model::addressing::ActiveModel { id: sea_orm::ActiveValue::NotSet, server: Set(Context::server(to)),