mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-25 00:30:59 +00:00
Fix filter to display only the ones you are actually following (#494)
This commit is contained in:
parent
51b7c0d919
commit
4eada68d9f
1 changed files with 2 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue