settings: Add realm-level setting moderation_request_channel.

This commit introduces a new non-operational
`moderation_request_channel` field to the server/API. This setting will
support a feature allowing users to flag or report abusive content
(harassment, spam, etc.).

Fixes part of #20047.
This commit is contained in:
PieterCK
2024-12-03 12:37:27 +07:00
committed by Tim Abbott
parent 238c35f2af
commit 943fbb76fe
14 changed files with 243 additions and 5 deletions

View File

@@ -944,6 +944,7 @@ def check_realm_update(
value = event["value"]
if prop in [
"moderation_request_channel_id",
"new_stream_announcements_stream_id",
"signup_announcements_stream_id",
"zulip_update_announcements_stream_id",