mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
zerver: Add feature for notification at rename of a stream.
Feature of sending notification to the stream using notification bot is added. user_profile is also passed to do_rename_stream for using the name of user who renamed the stream in notification. Notification is sent to the stream using internal_send_stream_message in do_rename_stream. Fixes #11034.
This commit is contained in:
@@ -24,4 +24,4 @@ class Command(ZulipBaseCommand):
|
||||
new_name = options['new_name']
|
||||
|
||||
stream = get_stream(old_name, realm)
|
||||
do_rename_stream(stream, new_name)
|
||||
do_rename_stream(stream, new_name, self.user_profile)
|
||||
|
||||
Reference in New Issue
Block a user