Skip to content
Snippets Groups Projects

Resolve "Mailbox-Test broken"

Merged Tom Teichler requested to merge 345-mailbox-test-broken into master
3 files
+ 105
103
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 1
1
@@ -494,7 +494,7 @@ class Notification(ExtensibleModel, TimeStampedModel):
def save(self, **kwargs):
super().save(**kwargs)
if not self.sent:
transaction.on_commit(lambda: send_notification(self.pk, resend=True))
send_notification(self.pk, resend=True)
self.sent = True
super().save(**kwargs)
Loading