mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-22 16:16:39 +00:00
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,6 +214,7 @@ def handle_incoming_follow(activity):
|
||||||
return HttpResponse()
|
return HttpResponse()
|
||||||
|
|
||||||
create_notification(to_follow, 'FOLLOW', related_user=user)
|
create_notification(to_follow, 'FOLLOW', related_user=user)
|
||||||
|
if not to_follow.manually_approves_followers:
|
||||||
outgoing.handle_outgoing_accept(user, to_follow, activity)
|
outgoing.handle_outgoing_accept(user, to_follow, activity)
|
||||||
return HttpResponse()
|
return HttpResponse()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue