From 3f52b4d5662de8b426c7d8324538e1d24fe7ec74 Mon Sep 17 00:00:00 2001 From: alemi Date: Mon, 10 Jun 2024 01:43:39 +0200 Subject: [PATCH] feat: show if user manually approves follows --- upub/routes/src/activitypub/actor/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/upub/routes/src/activitypub/actor/mod.rs b/upub/routes/src/activitypub/actor/mod.rs index 50088a00..cfd505ba 100644 --- a/upub/routes/src/activitypub/actor/mod.rs +++ b/upub/routes/src/activitypub/actor/mod.rs @@ -65,6 +65,7 @@ pub async fn view( .set_followers(Node::link(upub::url!(ctx, "/actors/{id}/followers"))) .set_following_me(following_me) .set_followed_by_me(followed_by_me) + .set_manually_approves_followers(Some(!cfg.accept_follow_requests)) .set_endpoints(Node::object( apb::new() .set_shared_inbox(Some(&upub::url!(ctx, "/inbox")))