mirror of https://github.com/zulip/zulip.git
docs: Fix new_feature_tutorial to replace add_emoji_by_admins_only.
This commit replaces add_emoji_by_admins_only with add_custom_emoji_policy in new_feature_tutorial.md as the old boolean setting is replaced by a new integer setting.
This commit is contained in:
parent
4b1313a92b
commit
9ef8727a4a
|
@ -193,7 +193,7 @@ class Realm(models.Model)
|
|||
# ...
|
||||
# Define the types of the various automatically managed properties
|
||||
property_types = dict(
|
||||
add_emoji_by_admins_only=bool,
|
||||
add_custom_emoji_policy=int,
|
||||
allow_edit_history=bool,
|
||||
# ...
|
||||
+ mandatory_topics=bool,
|
||||
|
@ -590,7 +590,7 @@ function dispatch_normal_event(event) {
|
|||
// ...
|
||||
case 'realm':
|
||||
var realm_settings = {
|
||||
add_emoji_by_admins_only: settings_emoji.update_custom_emoji_ui,
|
||||
add_custom_emoji_policy: settings_emoji.update_custom_emoji_ui,
|
||||
allow_edit_history: noop,
|
||||
// ...
|
||||
+ mandatory_topics: noop,
|
||||
|
|
Loading…
Reference in New Issue