Fixes approving follow requests automatically
This commit is contained in:
parent
f5a022184f
commit
b57a86d4e2
3 changed files with 17 additions and 17 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue