Authors should also see their own posts
This commit is contained in:
parent
110ae452b6
commit
e1363f0dac
|
@ -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 New Issue