mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-16 21:26:33 +00:00
Fixes privacy filters for followers-only replies
This commit is contained in:
parent
c1287f800e
commit
cc650e235b
1 changed files with 3 additions and 3 deletions
|
@ -67,9 +67,9 @@ class BookWyrmModel(models.Model):
|
||||||
return
|
return
|
||||||
|
|
||||||
# you can see the followers only posts of people you follow
|
# you can see the followers only posts of people you follow
|
||||||
if (
|
if self.privacy == "followers" and (
|
||||||
self.privacy == "followers"
|
self.user.followers.filter(id=viewer.id).first()
|
||||||
and self.user.followers.filter(id=viewer.id).first()
|
or self.mention_users.filter(id=viewer.id)
|
||||||
):
|
):
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue