mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 12:03:46 +00:00 
			
		
		
		
	settings: Add a new topics_policy realm setting.
				
					
				
			Added a new realm setting, `topics_policy` and deprecated `mandatory_topics` setting as it now replaced by `topics_policy`. Fixes part of #33549.
This commit is contained in:
		| @@ -91,7 +91,9 @@ const stream_data = zrequire("stream_data"); | ||||
| const compose_recipient = zrequire("compose_recipient"); | ||||
| const {set_realm} = zrequire("state_data"); | ||||
|  | ||||
| const realm = {realm_mandatory_topics: true}; | ||||
| const realm = { | ||||
|     realm_topics_policy: "disable_empty_topic", | ||||
| }; | ||||
| set_realm(realm); | ||||
|  | ||||
| const start = compose_actions.start; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user