fix(notifications): content type

This commit is contained in:
rhunk 2024-05-26 19:38:03 +02:00
parent ab7f5ab1bc
commit 692ec69eed

View File

@ -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
}
}