diff options
Diffstat (limited to 'users/views')
-rw-r--r-- | users/views/identity.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/users/views/identity.py b/users/views/identity.py index fba640c..b68806b 100644 --- a/users/views/identity.py +++ b/users/views/identity.py @@ -62,9 +62,8 @@ class ViewIdentity(ListView): def get_queryset(self): return ( - self.identity.posts.filter( - visibility__in=[Post.Visibilities.public, Post.Visibilities.unlisted], - ) + self.identity.posts.not_hidden() + .unlisted(include_replies=True) .select_related("author") .prefetch_related("attachments") .order_by("-created") |