fix: filter voice messages with file name to prevent some cases that the attachment is not marked as voice message

pull/646/head
ryanzhao 2 years ago
parent 533edd903b
commit d9f05f5b9c

@ -268,6 +268,7 @@ public class MediaGalleryViewModel {
\(attachment[.isVisualMedia]) = false AND
\(attachment[.isValid]) = true AND
\(attachment[.variant]) = \(Attachment.Variant.standard) AND
\(attachment[.sourceFilename]) <> 'session-audio-message' AND
\(interaction[.threadId]) = \(threadId)
""")
}

Loading…
Cancel
Save