Don't create notifications when deleting statuses

This commit is contained in:
Mouse Reeve 2021-04-01 20:40:28 -07:00
parent de16dd75c6
commit 29792080a9

View file

@ -71,6 +71,7 @@ class Status(OrderedCollectionPageMixin, BookWyrmModel):
if self.deleted: if self.deleted:
notification_model.objects.filter(related_status=self).delete() notification_model.objects.filter(related_status=self).delete()
return
if ( if (
self.reply_parent self.reply_parent