mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 04:23:46 +00:00
stream_settings: Add new disable_topics option to topics_policy.
Adds new configuration option `disable_topics` in `topics_policy` channel setting to support disabling topics in the channel. Fixes #34553.
This commit is contained in:
@@ -1757,6 +1757,9 @@ def do_set_stream_property(stream: Stream, name: str, value: Any, acting_user: U
|
||||
StreamTopicsPolicyEnum.disable_empty_topic.value: _(
|
||||
"No *{empty_topic_display_name}* topic"
|
||||
).format(empty_topic_display_name=empty_topic_display_name),
|
||||
StreamTopicsPolicyEnum.empty_topic_only.value: _(
|
||||
"Only *{empty_topic_display_name}* topic allowed"
|
||||
).format(empty_topic_display_name=empty_topic_display_name),
|
||||
}
|
||||
|
||||
NOTIFICATION_MESSAGES = {
|
||||
|
||||
Reference in New Issue
Block a user