Hide old edit revisions from media preview gallery.

This commit is contained in:
Clark
2023-07-21 15:00:27 -04:00
committed by GitHub
parent 1e0733bd46
commit fad401941e

View File

@@ -70,6 +70,7 @@ class MediaTable internal constructor(context: Context?, databaseHelper: SignalD
${MessageTable.VIEW_ONCE} = 0 AND
${MessageTable.STORY_TYPE} = 0 AND
${AttachmentTable.DATA} IS NOT NULL AND
${MessageTable.LATEST_REVISION_ID} IS NULL AND
(
${AttachmentTable.QUOTE} = 0 OR
(