mirror of https://github.com/zulip/zulip.git
actions: Rename notify_topic_moved_streams function.
This is a minor refactor which renames the notify_topic_moved_streams function to send_message_moved_breadcrumbs. This is done because this function will be also used for other things in the future, when moving streams or when using the /digress command, for example.
This commit is contained in:
parent
06d9497a40
commit
fc0488fdb1
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue