Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
message_edit: Make propagate_mode optional.
Zixuan James Licf455131ef34
diff --git a/zerver/actions/message_edit.py b/zerver/actions/message_edit.pyindex d16a7118134..396c9c388c4 100644--- a/zerver/actions/message_edit.py+++ b/zerver/actions/message_edit.py@@ -356,7 +356,7 @@ def do_update_message(target_message: Message,new_stream: Optional[Stream],topic_name: Optional[str],- propagate_mode: str,+ propagate_mode: Optional[str],send_notification_to_old_thread: bool,send_notification_to_new_thread: bool,content: Optional[str],@@ -495,6 +495,7 @@ def do_update_message()if topic_name is not None or new_stream is not None:+ assert propagate_mode is not Noneorig_topic_name = target_message.topic_name()event["propagate_mode"] = propagate_mode