Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

scheduled_message: Send `update` event on failed delivery.

Aman Agrawalc2145a899385
diff --git a/zerver/actions/scheduled_messages.py b/zerver/actions/scheduled_messages.py
index b9c9e00aa8e..bf260f98065 100644
--- a/zerver/actions/scheduled_messages.py
+++ b/zerver/actions/scheduled_messages.py
@@ -350,6 +350,7 @@ def try_deliver_one_scheduled_message(logger: logging.Logger) -> bool:
and not isinstance(e, RealmDeactivatedError)
and not isinstance(e, UserDeactivatedError)
):
+ notify_update_scheduled_message(scheduled_message.sender, scheduled_message)
send_failed_scheduled_message_notification(
scheduled_message.sender, scheduled_message.id
)