mirror of https://github.com/zulip/zulip.git
delete_event_notify_user_ids: Fix UnboundLocalError.
This commit is contained in:
parent
4a62cae0b7
commit
f1cc2ab926
|
@ -4614,6 +4614,7 @@ def do_update_message(user_profile: UserProfile, message: Message,
|
||||||
event[TOPIC_LINKS] = topic_links(message.sender.realm_id, topic_name)
|
event[TOPIC_LINKS] = topic_links(message.sender.realm_id, topic_name)
|
||||||
edit_history_event[LEGACY_PREV_TOPIC] = orig_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"]:
|
if propagate_mode in ["change_later", "change_all"]:
|
||||||
assert topic_name is not None or new_stream is not None
|
assert topic_name is not None or new_stream is not None
|
||||||
messages_list = update_messages_for_topic_edit(
|
messages_list = update_messages_for_topic_edit(
|
||||||
|
|
Loading…
Reference in New Issue