commit 692ec69eeddf12b02d1db27c25a09ebae5604807 parent ab7f5ab1bccb5c9182d6250289262e341572bd5b Author: rhunk <101876869+rhunk@users.noreply.github.com> Date: Sun, 26 May 2024 19:38:03 +0200 fix(notifications): content type Diffstat:
M | core/src/main/kotlin/me/rhunk/snapenhance/core/features/impl/messaging/Notifications.kt | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/core/src/main/kotlin/me/rhunk/snapenhance/core/features/impl/messaging/Notifications.kt b/core/src/main/kotlin/me/rhunk/snapenhance/core/features/impl/messaging/Notifications.kt @@ -315,6 +315,7 @@ class Notifications : Feature("Notifications", loadParams = FeatureLoadParams.IN val contentType = message.messageContent!!.contentType!!.let { contentType -> when { notificationType.contains("screenshot") -> ContentType.STATUS_CONVERSATION_CAPTURE_SCREENSHOT + notificationType.contains("save_camera_roll") -> ContentType.STATUS_SAVE_TO_CAMERA_ROLL else -> contentType } }