add comments

This commit is contained in:
ryanzhao 2022-07-12 15:31:54 +10:00
parent 4a914480a7
commit 13370dbb9e
1 changed files with 1 additions and 0 deletions

View File

@ -264,6 +264,7 @@ public class MediaGalleryViewModel {
\(interaction[.threadId]) = \(threadId)
""")
case .document:
// FIXME: Remove "\(attachment[.sourceFilename]) <> 'session-audio-message'" when all platforms send the voice message properly
return SQL("""
\(attachment[.isVisualMedia]) = false AND
\(attachment[.isValid]) = true AND