forked from alemi/upub
feat: show if user manually approves follows
This commit is contained in:
parent
03603a396d
commit
3f52b4d566
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ pub async fn view(
|
||||||
.set_followers(Node::link(upub::url!(ctx, "/actors/{id}/followers")))
|
.set_followers(Node::link(upub::url!(ctx, "/actors/{id}/followers")))
|
||||||
.set_following_me(following_me)
|
.set_following_me(following_me)
|
||||||
.set_followed_by_me(followed_by_me)
|
.set_followed_by_me(followed_by_me)
|
||||||
|
.set_manually_approves_followers(Some(!cfg.accept_follow_requests))
|
||||||
.set_endpoints(Node::object(
|
.set_endpoints(Node::object(
|
||||||
apb::new()
|
apb::new()
|
||||||
.set_shared_inbox(Some(&upub::url!(ctx, "/inbox")))
|
.set_shared_inbox(Some(&upub::url!(ctx, "/inbox")))
|
||||||
|
|
Loading…
Reference in a new issue