mirror of
https://github.com/jointakahe/takahe.git
synced 2024-12-25 23:00:29 +00:00
Authors should also see their own posts
This commit is contained in:
parent
110ae452b6
commit
e1363f0dac
1 changed files with 1 additions and 1 deletions
|
@ -152,9 +152,9 @@ class PostQuerySet(models.QuerySet):
|
|||
author__inbound_follows__source=identity,
|
||||
)
|
||||
| models.Q(
|
||||
visibility=Post.Visibilities.mentioned,
|
||||
mentions=identity,
|
||||
)
|
||||
| models.Q(author=identity)
|
||||
).distinct()
|
||||
if not include_replies:
|
||||
return query.filter(in_reply_to__isnull=True)
|
||||
|
|
Loading…
Reference in a new issue