Don't automatically accept follows if the user doesn't want to.

This commit is contained in:
Adam Kelly 2020-03-09 20:13:54 +00:00
parent 971186ef3a
commit e1fa7a73cc

View file

@ -214,6 +214,7 @@ def handle_incoming_follow(activity):
return HttpResponse()
create_notification(to_follow, 'FOLLOW', related_user=user)
if not to_follow.manually_approves_followers:
outgoing.handle_outgoing_accept(user, to_follow, activity)
return HttpResponse()