forked from mirrors/bookwyrm
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