diff --git a/activities/views/posts.py b/activities/views/posts.py index 998ee30..fb8f099 100644 --- a/activities/views/posts.py +++ b/activities/views/posts.py @@ -32,7 +32,7 @@ class Individual(TemplateView): self.post_obj = get_object_or_404( PostService.queryset() .filter(author=self.identity) - .visible_to(request.identity), + .visible_to(request.identity, include_replies=True), pk=post_id, ) if self.post_obj.state in [PostStates.deleted, PostStates.deleted_fanned_out]: @@ -89,7 +89,9 @@ class Like(View): def post(self, request, handle, post_id): identity = by_handle_or_404(self.request, handle, local=False) post = get_object_or_404( - PostService.queryset().filter(author=identity).visible_to(request.identity), + PostService.queryset() + .filter(author=identity) + .visible_to(request.identity, include_replies=True), pk=post_id, ) service = PostService(post) @@ -121,7 +123,9 @@ class Boost(View): def post(self, request, handle, post_id): identity = by_handle_or_404(self.request, handle, local=False) post = get_object_or_404( - PostService.queryset().filter(author=identity).visible_to(request.identity), + PostService.queryset() + .filter(author=identity) + .visible_to(request.identity, include_replies=True), pk=post_id, ) service = PostService(post)