mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-16 13:16: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
|
||||
|
||||
# you can see the followers only posts of people you follow
|
||||
if (
|
||||
self.privacy == "followers"
|
||||
and self.user.followers.filter(id=viewer.id).first()
|
||||
if self.privacy == "followers" and (
|
||||
self.user.followers.filter(id=viewer.id).first()
|
||||
or self.mention_users.filter(id=viewer.id)
|
||||
):
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in a new issue