fix(better_notifications): media preview content type

This commit is contained in:
rhunk
2024-05-23 00:48:08 +02:00
parent 645b7befa9
commit 59a3b7f26a
2 changed files with 2 additions and 1 deletions

View File

@@ -1291,6 +1291,7 @@
"EXTERNAL_MEDIA": "External Media",
"NOTE": "Audio Note",
"STICKER": "Sticker",
"SHARE": "Share",
"STATUS": "Status",
"LOCATION": "Location",
"STATUS_SAVE_TO_CAMERA_ROLL": "Saved to Camera Roll",

View File

@@ -51,7 +51,7 @@ class MessagingTweaks : ConfigContainer() {
class BetterNotifications: ConfigContainer() {
val groupNotifications = boolean("group_notifications")
val chatPreview = boolean("chat_preview")
val mediaPreview = multiple("media_preview", "SNAP", "NOTE", "EXTERNAL_MEDIA", "STICKER") {
val mediaPreview = multiple("media_preview", "SNAP", "EXTERNAL_MEDIA", "STICKER", "SHARE", "TINY_SNAP", "MAP_REACTION") {
customOptionTranslationPath = "content_type"
}
val mediaCaption = boolean("media_caption")