Merge branch 'dev' into dev_gh

This commit is contained in:
rhunk
2025-06-01 15:04:49 +02:00
15 changed files with 163 additions and 85 deletions

View File

@@ -638,6 +638,10 @@
"name": "Unlimited Conversation Pinning",
"description": "Allows you to pin an unlimited amount of conversations locally"
},
"disable_snap_mode_restrictions": {
"name": "Disable Snap Mode Restrictions",
"description": "Allows you to view self-destructing Snaps without restrictions"
},
"prevent_message_sending": {
"name": "Prevent Message Sending",
"description": "Prevents sending certain types of messages"
@@ -982,6 +986,10 @@
"name": "Bypass Camera Roll Limit",
"description": "Increases the maximum amount of media you can send from the camera roll"
},
"custom_self_destruct_snap_delay": {
"name": "Custom Self Destruct Snap Delay",
"description": "Gives more options for the self-destruct timer when sending a Snap"
},
"composer_console": {
"name": "Composer Console",
"description": "Allows you to execute JavaScript code in Composer (arm64 only)"

View File

@@ -27,6 +27,7 @@ class Experimental : ConfigContainer() {
class ComposerHooksConfig: ConfigContainer(hasGlobalState = true) {
val showFirstCreatedUsername = boolean("show_first_created_username")
val bypassCameraRollLimit = boolean("bypass_camera_roll_limit")
val customSelfDestructSnapDelay = boolean("custom_self_destruct_snap_delay")
val composerConsole = boolean("composer_console")
val composerLogs = boolean("composer_logs")
}

View File

@@ -70,6 +70,7 @@ class MessagingTweaks : ConfigContainer() {
val halfSwipeNotifier = container("half_swipe_notifier", HalfSwipeNotifierConfig()) { requireRestart()}
val callStartConfirmation = boolean("call_start_confirmation") { requireRestart() }
val unlimitedConversationPinning = boolean("unlimited_conversation_pinning") { requireRestart() }
val disableSnapModeRestrictions = boolean("disable_snap_mode_restrictions") { requireRestart() }
val autoSaveMessagesInConversations = multiple("auto_save_messages_in_conversations",
"CHAT",
"SNAP",