From 4eada68d9fd5b11bcc43ac8c0828c53790cb3421 Mon Sep 17 00:00:00 2001 From: Humberto Rocha Date: Sat, 4 Feb 2023 13:53:20 -0500 Subject: [PATCH] Fix filter to display only the ones you are actually following (#494) --- users/services/identity.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/users/services/identity.py b/users/services/identity.py index 9560982..049ab40 100644 --- a/users/services/identity.py +++ b/users/services/identity.py @@ -58,7 +58,8 @@ class IdentityService: def following(self) -> models.QuerySet[Identity]: return ( - Identity.objects.filter(inbound_follows__source=self.identity) + Identity.objects.active() + .filter(inbound_follows__source=self.identity) .not_deleted() .order_by("username") .select_related("domain")