mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 11:22:04 +00:00
org settings: Create backend api for allow_community_topic_editing.
Adds the code for updating the allow_community_topic_editing setting.
This commit is contained in:
@@ -160,6 +160,7 @@ def fetch_initial_state_data(user_profile: UserProfile,
|
||||
realm = user_profile.realm
|
||||
state['realm_authentication_methods'] = realm.authentication_methods_dict()
|
||||
state['realm_allow_message_editing'] = realm.allow_message_editing
|
||||
state['realm_allow_community_topic_editing'] = realm.allow_community_topic_editing
|
||||
state['realm_message_content_edit_limit_seconds'] = realm.message_content_edit_limit_seconds
|
||||
state['realm_icon_url'] = realm_icon_url(realm)
|
||||
state['realm_icon_source'] = realm.icon_source
|
||||
|
||||
Reference in New Issue
Block a user