streams: Add notifications for description changes.

This is a part of #20289.
This commit is contained in:
Eeshan Garg
2021-12-14 14:08:48 -05:00
committed by Tim Abbott
parent 8fe47e8878
commit 80f30f187e
4 changed files with 82 additions and 14 deletions

View File

@@ -284,7 +284,7 @@ def update_stream_backend(
if "\n" in description:
# We don't allow newline characters in stream descriptions.
description = description.replace("\n", " ")
do_change_stream_description(stream, description)
do_change_stream_description(stream, description, acting_user=user_profile)
if new_name is not None:
new_name = new_name.strip()
if stream.name == new_name: