Fixes privacy filters for followers-only replies
This commit is contained in:
parent
c1287f800e
commit
cc650e235b
|
@ -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 New Issue