Don't put deleted statuses in outbox

This commit is contained in:
Mouse Reeve 2020-11-06 14:53:27 -08:00
parent d31071ddb0
commit d320ba1ff9

View file

@ -136,6 +136,7 @@ class User(OrderedCollectionPageMixin, AbstractUser):
''' an ordered collection of statuses '''
queryset = Status.objects.filter(
user=self,
deleted=False,
).select_subclasses()
return self.to_ordered_collection(queryset, \
remote_id=self.outbox, **kwargs)