Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
message_edit: Always pass realm ID to update_message_cache.
Sahil Batraa2c699787972
diff --git a/zerver/actions/message_edit.py b/zerver/actions/message_edit.pyindex fd2861920e2..37afcb6bd54 100644--- a/zerver/actions/message_edit.py+++ b/zerver/actions/message_edit.py@@ -808,10 +808,7 @@ def do_update_message(# freshly-fetched-from-the-database changed messages.changed_messages = save_changes_for_propagation_mode()- realm_id: int | None = None- if stream_being_edited is not None:- realm_id = stream_being_edited.realm_id-+ realm_id = target_message.realm_idevent["message_ids"] = update_message_cache(changed_messages, realm_id)def user_info(um: UserMessage) -> dict[str, Any]: