Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
streams: Use bulleted format for description change notifications.
Eeshan Gargf0ee06529212
diff --git a/zerver/lib/actions.py b/zerver/lib/actions.pyindex 9639d4e8498..9169ce3fa56 100644--- a/zerver/lib/actions.py+++ b/zerver/lib/actions.py@@ -5230,11 +5230,11 @@ def send_change_stream_description_notification(with override_language(stream.realm.default_language):notification_string = _("{user} changed the description for this stream.\n\n"- "Old description:\n"+ "* **Old description:**\n""``` quote\n""{old_description}\n""```\n"- "New description:\n"+ "* **New description:**\n""``` quote\n""{new_description}\n""```"diff --git a/zerver/tests/test_subs.py b/zerver/tests/test_subs.pyindex f8e7e39ebc8..ae535334152 100644--- a/zerver/tests/test_subs.py+++ b/zerver/tests/test_subs.py@@ -1228,11 +1228,11 @@ class StreamAdminTest(ZulipTestCase):messages = get_topic_messages(user_profile, stream, "stream events")expected_notification = (f"@_**{user_profile.full_name}|{user_profile.id}** changed the description for this stream.\n\n"- "Old description:\n"+ "* **Old description:**\n""``` quote\n""Test description\n""```\n"- "New description:\n"+ "* **New description:**\n""``` quote\n""a multi line description\n""```"@@ -1290,11 +1290,11 @@ class StreamAdminTest(ZulipTestCase):messages = get_topic_messages(user_profile, stream, "stream events")expected_notification = (f"@_**{user_profile.full_name}|{user_profile.id}** changed the description for this stream.\n\n"- "Old description:\n"+ "* **Old description:**\n""``` quote\n""See https://zulip.com/team\n""```\n"- "New description:\n"+ "* **New description:**\n""``` quote\n""Test description\n""```"