Fix filter to display only the ones you are actually following (#494)
This commit is contained in:
parent
51b7c0d919
commit
4eada68d9f
|
@ -58,7 +58,8 @@ class IdentityService:
|
||||||
|
|
||||||
def following(self) -> models.QuerySet[Identity]:
|
def following(self) -> models.QuerySet[Identity]:
|
||||||
return (
|
return (
|
||||||
Identity.objects.filter(inbound_follows__source=self.identity)
|
Identity.objects.active()
|
||||||
|
.filter(inbound_follows__source=self.identity)
|
||||||
.not_deleted()
|
.not_deleted()
|
||||||
.order_by("username")
|
.order_by("username")
|
||||||
.select_related("domain")
|
.select_related("domain")
|
||||||
|
|
Loading…
Reference in New Issue