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.

message_edit: Pass acting_user to update_messages_for_topic_edit.

Tim Abbottf78e60486839
diff --git a/zerver/lib/actions.py b/zerver/lib/actions.py
index 89c67b34910..aa2e0cb25ef 100644
--- a/zerver/lib/actions.py
+++ b/zerver/lib/actions.py
@@ -5877,6 +5877,7 @@ def do_update_message(
}
messages_list = update_messages_for_topic_edit(
+ acting_user=user_profile,
edited_message=target_message,
propagate_mode=propagate_mode,
orig_topic_name=orig_topic_name,
diff --git a/zerver/lib/topic.py b/zerver/lib/topic.py
index 99588314afc..a0ce4d5b233 100644
--- a/zerver/lib/topic.py
+++ b/zerver/lib/topic.py
@@ -139,6 +139,7 @@ def update_edit_history(
def update_messages_for_topic_edit(
+ acting_user: UserProfile,
edited_message: Message,
propagate_mode: str,
orig_topic_name: str,