2022-11-11 06:43:20 -05:00
|
|
|
chat:
|
2022-11-02 09:41:30 -04:00
|
|
|
chat_enabled:
|
2022-12-13 19:25:19 -05:00
|
|
|
default: true
|
2022-11-02 09:41:30 -04:00
|
|
|
client: true
|
2023-07-13 04:00:25 -04:00
|
|
|
enable_public_channels:
|
|
|
|
default: true
|
|
|
|
client: true
|
2022-11-02 09:41:30 -04:00
|
|
|
chat_allowed_groups:
|
|
|
|
type: group_list
|
|
|
|
list_type: compact
|
2024-05-13 00:38:26 -04:00
|
|
|
default: "1|2|11" # @admins, @moderators, @trust_level_1
|
|
|
|
mandatory_values: "1|2" # @admins, @moderators
|
2022-11-02 09:41:30 -04:00
|
|
|
allow_any: false
|
|
|
|
refresh: true
|
2024-01-23 06:14:46 -05:00
|
|
|
chat_threads_enabled:
|
|
|
|
client: true
|
|
|
|
default: false
|
|
|
|
hidden: true
|
2022-11-02 09:41:30 -04:00
|
|
|
needs_chat_seeded:
|
|
|
|
default: true
|
|
|
|
hidden: true
|
|
|
|
chat_debug_webhook_payloads:
|
|
|
|
default: false
|
|
|
|
hidden: true
|
|
|
|
chat_channel_retention_days:
|
|
|
|
default: 90
|
|
|
|
client: true
|
|
|
|
max: 3652 # 10 years
|
|
|
|
min: 0
|
2022-11-15 04:40:28 -05:00
|
|
|
chat_max_direct_message_users:
|
|
|
|
default: 20
|
|
|
|
min: 0
|
|
|
|
max: 100
|
|
|
|
client: true
|
2022-11-02 09:41:30 -04:00
|
|
|
chat_dm_retention_days:
|
|
|
|
default: 0
|
|
|
|
client: true
|
|
|
|
max: 3652 # 10 years
|
|
|
|
min: 0
|
|
|
|
chat_auto_silence_duration:
|
|
|
|
default: 30
|
|
|
|
min: 0
|
|
|
|
chat_allowed_messages_for_trust_level_0:
|
|
|
|
default: 20
|
|
|
|
min: 0
|
|
|
|
chat_allowed_messages_for_other_trust_levels:
|
|
|
|
default: 40
|
|
|
|
min: 0
|
|
|
|
chat_silence_user_sensitivity:
|
|
|
|
type: enum
|
|
|
|
enum: "ReviewableSensitivitySetting"
|
|
|
|
default: 6
|
|
|
|
chat_auto_silence_from_flags_duration:
|
|
|
|
default: 60
|
|
|
|
min: 0
|
2024-09-02 19:25:45 -04:00
|
|
|
area: "flags"
|
2022-11-02 09:41:30 -04:00
|
|
|
chat_allow_archiving_channels:
|
|
|
|
default: false
|
|
|
|
client: true
|
|
|
|
chat_archive_destination_topic_status:
|
|
|
|
type: enum
|
|
|
|
default: archived
|
|
|
|
choices:
|
|
|
|
- archived
|
|
|
|
- open
|
|
|
|
- closed
|
|
|
|
chat_duplicate_message_sensitivity:
|
|
|
|
type: float
|
|
|
|
default: 0.5
|
|
|
|
min: 0
|
|
|
|
max: 1
|
|
|
|
default_emoji_reactions:
|
|
|
|
type: emoji_list
|
|
|
|
default: +1|heart|tada
|
|
|
|
client: true
|
|
|
|
chat_minimum_message_length:
|
|
|
|
type: integer
|
|
|
|
default: 1
|
|
|
|
min: 1
|
|
|
|
max: 50
|
|
|
|
client: true
|
2022-11-27 19:48:30 -05:00
|
|
|
chat_maximum_message_length:
|
|
|
|
type: integer
|
|
|
|
default: 6000
|
|
|
|
client: true
|
|
|
|
hidden: true
|
|
|
|
min: 100
|
|
|
|
max: 12000
|
2022-11-02 09:41:30 -04:00
|
|
|
chat_allow_uploads:
|
|
|
|
default: true
|
|
|
|
client: true
|
2023-03-17 09:24:38 -04:00
|
|
|
validator: "Chat::AllowUploadsValidator"
|
2022-11-02 09:41:30 -04:00
|
|
|
max_chat_auto_joined_users:
|
|
|
|
min: 0
|
|
|
|
default: 10000
|
|
|
|
hidden: true
|
|
|
|
client: true
|
|
|
|
direct_message_enabled_groups:
|
2022-11-20 18:17:40 -05:00
|
|
|
default: "11" # @trust_level_1
|
2022-11-02 09:41:30 -04:00
|
|
|
type: group_list
|
|
|
|
allow_any: false
|
|
|
|
refresh: true
|
2023-03-17 09:24:38 -04:00
|
|
|
validator: "Chat::DirectMessageEnabledGroupsValidator"
|
2022-11-02 09:41:30 -04:00
|
|
|
chat_message_flag_allowed_groups:
|
2024-05-13 00:38:26 -04:00
|
|
|
default: "1|2|11" # @admins, @moderators, @trust_level_1
|
|
|
|
mandatory_values: "1|2" # @admins, @moderators
|
2022-11-02 09:41:30 -04:00
|
|
|
type: group_list
|
|
|
|
allow_any: false
|
|
|
|
refresh: true
|
2024-09-02 19:25:45 -04:00
|
|
|
area: "flags"
|
2022-12-06 12:54:04 -05:00
|
|
|
max_mentions_per_chat_message:
|
|
|
|
client: true
|
|
|
|
type: integer
|
|
|
|
default: 5
|
|
|
|
max: 10
|
|
|
|
min: 0
|
2023-01-25 06:50:10 -05:00
|
|
|
max_chat_draft_length:
|
|
|
|
default: 50_000
|
|
|
|
hidden: true
|
2023-08-18 14:33:07 -04:00
|
|
|
chat_separate_sidebar_mode:
|
|
|
|
client: true
|
|
|
|
default: "never"
|
|
|
|
type: enum
|
|
|
|
enum: "Chat::SeparateSidebarModeSiteSetting"
|
2023-10-23 04:40:30 -04:00
|
|
|
chat_editing_grace_period:
|
|
|
|
client: true
|
|
|
|
type: integer
|
|
|
|
default: 30
|
|
|
|
min: 0
|
|
|
|
chat_editing_grace_period_max_diff_low_trust:
|
|
|
|
client: true
|
|
|
|
type: integer
|
|
|
|
default: 10
|
|
|
|
min: 0
|
|
|
|
chat_editing_grace_period_max_diff_high_trust:
|
|
|
|
client: true
|
|
|
|
type: integer
|
|
|
|
default: 40
|
|
|
|
min: 0
|
2024-07-30 09:25:22 -04:00
|
|
|
chat_preferred_index:
|
2024-02-28 06:05:05 -05:00
|
|
|
client: true
|
|
|
|
type: enum
|
|
|
|
default: channels
|
|
|
|
choices:
|
|
|
|
- channels
|
|
|
|
- direct_messages
|
|
|
|
- my_threads
|