Fixes approving follow requests automatically

This commit is contained in:
Mouse Reeve
2021-02-16 12:58:29 -08:00
parent f5a022184f
commit b57a86d4e2
3 changed files with 17 additions and 17 deletions

View File

@ -100,7 +100,7 @@ class UserFollowRequest(ActivitypubMixin, UserRelationship):
if self.user_object.local:
manually_approves = self.user_object.manually_approves_followers
if manually_approves:
if not manually_approves:
self.accept()
model = apps.get_model('bookwyrm.Notification', require_ready=True)