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.

actions: Rename notify_topic_moved_streams function.

Abhijeet Prasad Bodasfc0488fdb1b8
diff --git a/zerver/lib/actions.py b/zerver/lib/actions.py
index c513ce21c87..950753219e1 100644
--- a/zerver/lib/actions.py
+++ b/zerver/lib/actions.py
@@ -5097,7 +5097,7 @@ class MessageUpdateUserInfoResult(TypedDict):
mention_user_ids: Set[int]
-def notify_topic_moved_streams(
+def send_message_moved_breadcrumbs(
user_profile: UserProfile,
old_stream: Stream,
old_topic: str,
@@ -5598,7 +5598,7 @@ def do_update_message(
if len(changed_messages) > 0 and new_stream is not None and stream_being_edited is not None:
# Notify users that the topic was moved.
- notify_topic_moved_streams(
+ send_message_moved_breadcrumbs(
user_profile,
stream_being_edited,
orig_topic_name,