mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-06-12 13:17:42 +02:00
feat(experimental): auto open snaps
This commit is contained in:
@ -199,6 +199,14 @@
|
||||
"whitelist": "Unsaveable Messages"
|
||||
}
|
||||
},
|
||||
"auto_open_snaps": {
|
||||
"name": "Auto Open Snaps",
|
||||
"description": "Automatically opens Snaps when receiving them",
|
||||
"options": {
|
||||
"blacklist": "Exclude from Auto Open Snaps",
|
||||
"whitelist": "Auto Open Snaps"
|
||||
}
|
||||
},
|
||||
"hide_friend_feed": {
|
||||
"name": "Hide from Friend Feed"
|
||||
},
|
||||
@ -945,6 +953,7 @@
|
||||
"auto_download": "\u2B07\uFE0F Auto Download",
|
||||
"auto_save": "\uD83D\uDCAC Auto Save Messages",
|
||||
"unsaveable_messages": "\u2B07\uFE0F Unsaveable Messages",
|
||||
"auto_open_snaps": "\uD83D\uDCF7 Auto Open Snaps",
|
||||
"stealth": "\uD83D\uDC7B Stealth Mode",
|
||||
"mark_snaps_as_seen": "\uD83D\uDC40 Mark Snaps as seen",
|
||||
"mark_stories_as_seen_locally": "\uD83D\uDC40 Mark Stories as seen locally",
|
||||
@ -1357,6 +1366,11 @@
|
||||
"incoming_secret_message": "Your friend just accepted your public key. Click below to accept the secret."
|
||||
},
|
||||
|
||||
"auto_open_snaps": {
|
||||
"title": "Auto Open Snaps",
|
||||
"notification_content": "{count} Snaps opened"
|
||||
},
|
||||
|
||||
"suspend_location_updates": {
|
||||
"switch_text": "Suspend Location Updates"
|
||||
},
|
||||
|
@ -45,6 +45,7 @@ enum class MessagingRuleType(
|
||||
STEALTH("stealth", true),
|
||||
AUTO_DOWNLOAD("auto_download", true),
|
||||
AUTO_SAVE("auto_save", true, defaultValue = "blacklist"),
|
||||
AUTO_OPEN_SNAPS("auto_open_snaps", true, configNotices = arrayOf(FeatureNotice.BAN_RISK, FeatureNotice.UNSTABLE), defaultValue = null),
|
||||
UNSAVEABLE_MESSAGES("unsaveable_messages", true, configNotices = arrayOf(FeatureNotice.REQUIRE_NATIVE_HOOKS), defaultValue = null),
|
||||
HIDE_FRIEND_FEED("hide_friend_feed", false, showInFriendMenu = false),
|
||||
E2E_ENCRYPTION("e2e_encryption", false),
|
||||
|
Reference in New Issue
Block a user