feat: call start confirmation

This commit is contained in:
rhunk
2023-10-28 17:16:45 +02:00
parent fb0180fc9d
commit d350182f15
4 changed files with 64 additions and 0 deletions

View File

@ -332,6 +332,10 @@
"name": "Message Preview Length",
"description": "Specify the amount of messages to get previewed"
},
"call_start_confirmation": {
"name": "Call Start Confirmation",
"description": "Shows a confirmation dialog when starting a call"
},
"prevent_message_sending": {
"name": "Prevent Message Sending",
"description": "Prevents sending certain types of messages"
@ -785,6 +789,11 @@
"background_option": "Background"
},
"call_start_confirmation": {
"dialog_title": "Start Call",
"dialog_message": "Are you sure you want to start a call?"
},
"download_processor": {
"attachment_type": {
"snap": "Snap",

View File

@ -11,6 +11,7 @@ class MessagingTweaks : ConfigContainer() {
val unlimitedSnapViewTime = boolean("unlimited_snap_view_time")
val disableReplayInFF = boolean("disable_replay_in_ff")
val messagePreviewLength = integer("message_preview_length", defaultValue = 20)
val callStartConfirmation = boolean("call_start_confirmation") { requireRestart() }
val autoSaveMessagesInConversations = multiple("auto_save_messages_in_conversations",
"CHAT",
"SNAP",