feat(core): stealth mode save snap in chat

Signed-off-by: rhunk <101876869+rhunk@users.noreply.github.com>
This commit is contained in:
rhunk
2025-08-26 14:13:26 +02:00
parent 3fb05c764e
commit d4c8a21504
5 changed files with 71 additions and 10 deletions

View File

@@ -1355,7 +1355,8 @@
},
"auto_mark_as_read": {
"conversation_read": "Mark conversation as read when sending a message",
"snap_reply": "Mark snaps as read when replying to them"
"snap_reply": "Mark snaps as read when replying to them",
"save_snap_in_chat": "Mark snaps as read when saving them in chat while in Stealth Mode"
},
"friend_mutation_notifier": {
"remove_friend": "Notify when someone removes you as a friend",

View File

@@ -62,7 +62,7 @@ class MessagingTweaks : ConfigContainer() {
val hideBitmojiPresence = boolean("hide_bitmoji_presence")
val hideTypingNotifications = boolean("hide_typing_notifications")
val unlimitedSnapViewTime = boolean("unlimited_snap_view_time")
val autoMarkAsRead = multiple("auto_mark_as_read", "snap_reply", "conversation_read") { requireRestart() }
val autoMarkAsRead = multiple("auto_mark_as_read", "snap_reply", "conversation_read", "save_snap_in_chat") { requireRestart() }
val markSnapAsSeenButton = boolean("mark_snap_as_seen_button") { requireRestart() }
val skipWhenMarkingAsSeen = boolean("skip_when_marking_as_seen") { requireRestart() }
val loopMediaPlayback = boolean("loop_media_playback") { requireRestart() }