From 4df4f198566722989998772baaf1b76f785d320d Mon Sep 17 00:00:00 2001 From: Michael Manfre Date: Wed, 28 Dec 2022 13:14:41 -0500 Subject: [PATCH] Remove unneeded join from Post to Identity (#301) --- activities/models/post.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activities/models/post.py b/activities/models/post.py index 40e5915..1c342cc 100644 --- a/activities/models/post.py +++ b/activities/models/post.py @@ -109,7 +109,7 @@ class PostQuerySet(models.QuerySet): Post.Visibilities.public, Post.Visibilities.local_only, ], - author__local=True, + local=True, ) if not include_replies: return query.filter(in_reply_to__isnull=True)