feat(core): mark snaps as seen

This commit is contained in:
rhunk
2023-11-08 01:43:47 +01:00
parent c357825dc7
commit 8823093b30
4 changed files with 82 additions and 6 deletions

View File

@ -612,6 +612,7 @@
"auto_download": "\u2B07\uFE0F Auto Download",
"auto_save": "\uD83D\uDCAC Auto Save Messages",
"stealth": "\uD83D\uDC7B Stealth Mode",
"mark_as_seen": "\uD83D\uDC40 Mark Snaps as seen",
"conversation_info": "\uD83D\uDC64 Conversation Info",
"e2e_encryption": "\uD83D\uDD12 Use E2E Encryption"
},
@ -710,6 +711,7 @@
},
"friend_menu_option": {
"mark_as_seen": "Mark Snaps as seen",
"preview": "Preview",
"stealth_mode": "Stealth Mode",
"auto_download_blacklist": "Auto Download Blacklist",

View File

@ -19,7 +19,7 @@ class UserInterfaceTweaks : ConfigContainer() {
}
val friendFeedMenuButtons = multiple(
"friend_feed_menu_buttons","conversation_info", *MessagingRuleType.entries.filter { it.showInFriendMenu }.map { it.key }.toTypedArray()
"friend_feed_menu_buttons","conversation_info", "mark_as_seen", *MessagingRuleType.entries.filter { it.showInFriendMenu }.map { it.key }.toTypedArray()
).apply {
set(mutableListOf("conversation_info", MessagingRuleType.STEALTH.key))
}