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.

delete_event_notify_user_ids: Fix UnboundLocalError.

Aman Agrawalf1cc2ab926e7
diff --git a/zerver/lib/actions.py b/zerver/lib/actions.py
index 78562e504ce..1ce1f9a9ad4 100644
--- a/zerver/lib/actions.py
+++ b/zerver/lib/actions.py
@@ -4614,6 +4614,7 @@ def do_update_message(user_profile: UserProfile, message: Message,
event[TOPIC_LINKS] = topic_links(message.sender.realm_id, topic_name)
edit_history_event[LEGACY_PREV_TOPIC] = orig_topic_name
+ delete_event_notify_user_ids: List[int] = []
if propagate_mode in ["change_later", "change_all"]:
assert topic_name is not None or new_stream is not None
messages_list = update_messages_for_topic_edit(