settings: Rename notifications_stream to new_stream_announce..._stream.

This commit renames the realm-level setting 'notifications_stream'
to 'new_stream_announcements_stream'.

The new name reflects better what the setting does.
This commit is contained in:
Prakhar Pratyush
2024-02-07 16:43:02 +05:30
committed by Tim Abbott
parent 0c83bca81e
commit ab453fbe20
40 changed files with 254 additions and 195 deletions

View File

@@ -918,7 +918,7 @@ def check_realm_update(
assert "extra_data" not in event
if prop in ["notifications_stream_id", "signup_notifications_stream_id", "org_type"]:
if prop in ["new_stream_announcements_stream_id", "signup_notifications_stream_id", "org_type"]:
assert isinstance(value, int)
return