forked from mirrors/bookwyrm
Don't automatically accept follows if the user doesn't want to.
This commit is contained in:
parent
971186ef3a
commit
e1fa7a73cc
1 changed files with 2 additions and 1 deletions
|
@ -214,7 +214,8 @@ def handle_incoming_follow(activity):
|
|||
return HttpResponse()
|
||||
|
||||
create_notification(to_follow, 'FOLLOW', related_user=user)
|
||||
outgoing.handle_outgoing_accept(user, to_follow, activity)
|
||||
if not to_follow.manually_approves_followers:
|
||||
outgoing.handle_outgoing_accept(user, to_follow, activity)
|
||||
return HttpResponse()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue