feat(core/notifications): save in chat when marking as read

This commit is contained in:
rhunk
2023-12-01 18:50:11 +01:00
parent c04b99434a
commit 202638841a
4 changed files with 38 additions and 11 deletions

View File

@ -671,6 +671,7 @@
"reply_button": "Add reply button",
"download_button": "Add download button",
"mark_as_read_button": "Mark as Read button",
"mark_as_read_and_save_in_chat": "Save in Chat when marking as read (depends on Auto Save)",
"group": "Group notifications"
},
"friend_feed_menu_buttons": {

View File

@ -28,7 +28,7 @@ class MessagingTweaks : ConfigContainer() {
nativeHooks()
}
val instantDelete = boolean("instant_delete") { requireRestart() }
val betterNotifications = multiple("better_notifications", "chat_preview", "media_preview", "reply_button", "download_button", "mark_as_read_button", "group") { requireRestart() }
val betterNotifications = multiple("better_notifications", "chat_preview", "media_preview", "reply_button", "download_button", "mark_as_read_button", "mark_as_read_and_save_in_chat", "group") { requireRestart() }
val notificationBlacklist = multiple("notification_blacklist", *NotificationType.getIncomingValues().map { it.key }.toTypedArray()) {
customOptionTranslationPath = "features.options.notifications"
}