From 29792080a9fd983d407617fe5a284e8d2894d8c9 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Thu, 1 Apr 2021 20:40:28 -0700 Subject: [PATCH] Don't create notifications when deleting statuses --- bookwyrm/models/status.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bookwyrm/models/status.py b/bookwyrm/models/status.py index 8038e3ee5..360288e93 100644 --- a/bookwyrm/models/status.py +++ b/bookwyrm/models/status.py @@ -71,6 +71,7 @@ class Status(OrderedCollectionPageMixin, BookWyrmModel): if self.deleted: notification_model.objects.filter(related_status=self).delete() + return if ( self.reply_parent