mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
settings: Add realm-level setting 'zulip_update_announcements_stream'.
This commit adds a realm-level setting named 'zulip_update_announcements_stream' that configures the stream to which zulip updates should be posted. Fixes part of #28604.
This commit is contained in:
committed by
Tim Abbott
parent
e6109ba192
commit
fe1a20ebb3
@@ -918,7 +918,12 @@ def check_realm_update(
|
||||
|
||||
assert "extra_data" not in event
|
||||
|
||||
if prop in ["new_stream_announcements_stream_id", "signup_announcements_stream_id", "org_type"]:
|
||||
if prop in [
|
||||
"new_stream_announcements_stream_id",
|
||||
"signup_announcements_stream_id",
|
||||
"zulip_update_announcements_stream_id",
|
||||
"org_type",
|
||||
]:
|
||||
assert isinstance(value, int)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user