mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-01 22:11:16 +00:00
Don't put deleted statuses in outbox
This commit is contained in:
parent
d31071ddb0
commit
d320ba1ff9
1 changed files with 1 additions and 0 deletions
|
@ -136,6 +136,7 @@ class User(OrderedCollectionPageMixin, AbstractUser):
|
||||||
''' an ordered collection of statuses '''
|
''' an ordered collection of statuses '''
|
||||||
queryset = Status.objects.filter(
|
queryset = Status.objects.filter(
|
||||||
user=self,
|
user=self,
|
||||||
|
deleted=False,
|
||||||
).select_subclasses()
|
).select_subclasses()
|
||||||
return self.to_ordered_collection(queryset, \
|
return self.to_ordered_collection(queryset, \
|
||||||
remote_id=self.outbox, **kwargs)
|
remote_id=self.outbox, **kwargs)
|
||||||
|
|
Loading…
Reference in a new issue