Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
scheduled_messages: Send event on commit in delete_scheduled_message.
Prakhar Pratyush475a25e739b4
diff --git a/zerver/actions/scheduled_messages.py b/zerver/actions/scheduled_messages.pyindex 6d3544f7eb6..6a6e08995a5 100644--- a/zerver/actions/scheduled_messages.py+++ b/zerver/actions/scheduled_messages.py@@ -255,6 +255,7 @@ def notify_remove_scheduled_message(user_profile: UserProfile, scheduled_messagesend_event_on_commit(user_profile.realm, event, [user_profile.id])[email protected](durable=True)def delete_scheduled_message(user_profile: UserProfile, scheduled_message_id: int) -> None:scheduled_message_object = access_scheduled_message(user_profile, scheduled_message_id)scheduled_message_id = scheduled_message_object.id