mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-18 12:11:35 +00:00
Merge pull request #1505 from RoboSats/revert-1497-avoid-duplicated-notifications
Revert "Avoid duplicated notifications"
This commit is contained in:
commit
0749d3163f
@ -350,7 +350,6 @@ class Order(models.Model):
|
|||||||
self.log(
|
self.log(
|
||||||
f"Order state went from {old_status}: <i>{Order.Status(old_status).label}</i> to {new_status}: <i>{Order.Status(new_status).label}</i>"
|
f"Order state went from {old_status}: <i>{Order.Status(old_status).label}</i> to {new_status}: <i>{Order.Status(new_status).label}</i>"
|
||||||
)
|
)
|
||||||
if old_status != new_status:
|
|
||||||
send_status_notification.delay(order_id=self.id, status=self.status)
|
send_status_notification.delay(order_id=self.id, status=self.status)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user