From d320ba1ff96e60aede18e1937ec8f59452102d4a Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Fri, 6 Nov 2020 14:53:27 -0800 Subject: [PATCH] Don't put deleted statuses in outbox --- bookwyrm/models/user.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bookwyrm/models/user.py b/bookwyrm/models/user.py index 21791411e..0c7d1a182 100644 --- a/bookwyrm/models/user.py +++ b/bookwyrm/models/user.py @@ -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)