mirror of https://github.com/zulip/zulip.git
scheduled_message: Send `update` event on failed delivery.
This commit is contained in:
parent
4dd32a4d85
commit
c2145a8993
|
@ -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
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue