mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 19:41:11 +00:00
Don't create notifications when deleting statuses
This commit is contained in:
parent
de16dd75c6
commit
29792080a9
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue