mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-29 02:31:00 +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,
|
author__inbound_follows__source=identity,
|
||||||
)
|
)
|
||||||
| models.Q(
|
| models.Q(
|
||||||
visibility=Post.Visibilities.mentioned,
|
|
||||||
mentions=identity,
|
mentions=identity,
|
||||||
)
|
)
|
||||||
|
| models.Q(author=identity)
|
||||||
).distinct()
|
).distinct()
|
||||||
if not include_replies:
|
if not include_replies:
|
||||||
return query.filter(in_reply_to__isnull=True)
|
return query.filter(in_reply_to__isnull=True)
|
||||||
|
|
Loading…
Reference in a new issue