From 9967870ca29ba023f72a8fb4d6c360166f1e0a56 Mon Sep 17 00:00:00 2001 From: alemi Date: Mon, 10 Jun 2024 04:46:43 +0200 Subject: [PATCH] fix: show only accepted follows --- upub/routes/src/activitypub/actor/following.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/upub/routes/src/activitypub/actor/following.rs b/upub/routes/src/activitypub/actor/following.rs index 12566bbc..4bc30ead 100644 --- a/upub/routes/src/activitypub/actor/following.rs +++ b/upub/routes/src/activitypub/actor/following.rs @@ -82,6 +82,7 @@ pub async fn page( }; let mut filter = Condition::all() + .add(model::relation::Column::Accept.is_not_null()) .add(if OUTGOING { Follower } else { Following }.eq(user.internal)); if hidden {