From 116d5f3f8c730c2ea08462186959479e0548ef39 Mon Sep 17 00:00:00 2001 From: alemi Date: Mon, 10 Jun 2024 04:57:40 +0200 Subject: [PATCH] fix: outbox show announces basically --- upub/routes/src/activitypub/actor/outbox.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/upub/routes/src/activitypub/actor/outbox.rs b/upub/routes/src/activitypub/actor/outbox.rs index e8b9ea49..c84901fe 100644 --- a/upub/routes/src/activitypub/actor/outbox.rs +++ b/upub/routes/src/activitypub/actor/outbox.rs @@ -23,11 +23,7 @@ pub async fn page( upub::url!(ctx, "/actors/{id}/outbox/page"), Condition::all() .add(auth.filter_activities()) - .add( - Condition::any() - .add(model::activity::Column::Actor.eq(&uid)) - .add(model::object::Column::AttributedTo.eq(&uid)) - ), + .add(model::activity::Column::Actor.eq(&uid)), ctx.db(), page, auth.my_id(),