diff --git a/src/main/kotlin/tests/ChatItemStandardMessageStandardAttachmentsTestCase.kt b/src/main/kotlin/tests/ChatItemStandardMessageStandardAttachmentsTestCase.kt index 9c62c648..801865f0 100644 --- a/src/main/kotlin/tests/ChatItemStandardMessageStandardAttachmentsTestCase.kt +++ b/src/main/kotlin/tests/ChatItemStandardMessageStandardAttachmentsTestCase.kt @@ -1,9 +1,13 @@ package tests +import Generators import PermutationScope import TestCase import asList +import nullable +import okio.ByteString.Companion.toByteString import org.thoughtcrime.securesms.backup.v2.proto.* +import toByteArray /** * Incoming/outgoing messages with standard attachments (i.e. no flags, meaning no voice notes, etc.). @@ -43,7 +47,8 @@ object ChatItemStandardMessageStandardAttachmentsTestCase : TestCase("chat_item_ frames += MessageAttachment( pointer = some(Generators.filePointer()), flag = MessageAttachment.Flag.NONE, - wasDownloaded = someBoolean() + wasDownloaded = someBoolean(), + clientUuid = some(Generators.uuids().nullable())?.toByteArray()?.toByteString() ) }.asList(1, 3, 5).let { some(it) }, reactions = some(Generators.reactions(2, StandardFrames.recipientSelf.recipient!!, StandardFrames.recipientAlice.recipient)) diff --git a/src/main/kotlin/tests/ChatItemStandardMessageWithQuoteTestCase.kt b/src/main/kotlin/tests/ChatItemStandardMessageWithQuoteTestCase.kt index d66af189..be519ea5 100644 --- a/src/main/kotlin/tests/ChatItemStandardMessageWithQuoteTestCase.kt +++ b/src/main/kotlin/tests/ChatItemStandardMessageWithQuoteTestCase.kt @@ -48,6 +48,8 @@ object ChatItemStandardMessageWithQuoteTestCase : TestCase("chat_item_standard_m emoji = "👍", data_ = FilePointer( contentType = "image/webp", + // If we update to have a sticker with a valid attachment, the quote + // below should be updated to include a valid thumbnail attachment. invalidAttachmentLocator = FilePointer.InvalidAttachmentLocator() ) ) @@ -97,27 +99,35 @@ object ChatItemStandardMessageWithQuoteTestCase : TestCase("chat_item_standard_m quote = Quote( targetSentTimestamp = targetDateSent, authorId = StandardFrames.recipientAlice.recipient.id, - text = if (targetMessage.chatItem?.standardMessage?.text?.body != null) { + text = if (targetMessage.chatItem!!.standardMessage != null) { Text( - body = targetMessage.chatItem.standardMessage.text.body, - bodyRanges = if (targetMessage.chatItem?.standardMessage?.text?.bodyRanges != null) { - targetMessage.chatItem.standardMessage.text.bodyRanges - } else { - emptyList() - } + body = targetMessage.chatItem.standardMessage!!.text!!.body, + bodyRanges = targetMessage.chatItem.standardMessage!!.text!!.bodyRanges ) - } else if (targetMessage.chatItem?.contactMessage != null) { - var name = targetMessage.chatItem.contactMessage.contact[0].name + } else if (targetMessage.chatItem!!.contactMessage != null) { + val name = targetMessage.chatItem.contactMessage!!.contact[0].name Text( body = "${name!!.givenName} ${name!!.familyName}" ) } else { null }, - type = if (targetMessage.chatItem?.giftBadge != null) { + type = if (targetMessage.chatItem!!.giftBadge != null) { Quote.Type.GIFTBADGE } else { Quote.Type.NORMAL + }, + attachments = if (targetMessage.chatItem!!.stickerMessage != null) { + // The sole sticker message test case has an invalid attachment, + // so we wouldn't have a proper thumbnail attachment here. + listOf( + Quote.QuotedAttachment( + contentType = "image/png", + fileName = null + ) + ) + } else { + emptyList() } ), reactions = some(Generators.reactions(2, StandardFrames.recipientSelf.recipient!!, StandardFrames.recipientAlice.recipient)) diff --git a/test-cases/chat_item_standard_message_standard_attachments_01.binproto b/test-cases/chat_item_standard_message_standard_attachments_01.binproto index 8b512ae1..070ca493 100644 Binary files a/test-cases/chat_item_standard_message_standard_attachments_01.binproto and b/test-cases/chat_item_standard_message_standard_attachments_01.binproto differ diff --git a/test-cases/chat_item_standard_message_standard_attachments_01.txtproto b/test-cases/chat_item_standard_message_standard_attachments_01.txtproto index ab64c85b..4cae4ab3 100644 --- a/test-cases/chat_item_standard_message_standard_attachments_01.txtproto +++ b/test-cases/chat_item_standard_message_standard_attachments_01.txtproto @@ -124,6 +124,7 @@ Frame { standardMessage = StandardMessage { attachments = [ MessageAttachment { + clientUuid = <21db7ced72034e348ab2da6e3d8fecb1> flag = Flag.NONE pointer = FilePointer { backupLocator = BackupLocator { @@ -166,6 +167,7 @@ Frame { wasDownloaded = true }, MessageAttachment { + clientUuid = <21db7ced72034e348ab2da6e3d8fecb1> flag = Flag.NONE pointer = FilePointer { backupLocator = BackupLocator { @@ -188,7 +190,7 @@ Frame { Reaction { authorId = 1 emoji = "💀" - sentTimestamp = 1744320599093 + sentTimestamp = 1829195743901 sortOrder = 1 } ] diff --git a/test-cases/chat_item_standard_message_standard_attachments_02.binproto b/test-cases/chat_item_standard_message_standard_attachments_02.binproto index dc2a7d6d..1c0a7c2f 100644 Binary files a/test-cases/chat_item_standard_message_standard_attachments_02.binproto and b/test-cases/chat_item_standard_message_standard_attachments_02.binproto differ diff --git a/test-cases/chat_item_standard_message_standard_attachments_02.txtproto b/test-cases/chat_item_standard_message_standard_attachments_02.txtproto index 6d3d507a..703d715d 100644 --- a/test-cases/chat_item_standard_message_standard_attachments_02.txtproto +++ b/test-cases/chat_item_standard_message_standard_attachments_02.txtproto @@ -143,6 +143,7 @@ Frame { wasDownloaded = true }, MessageAttachment { + clientUuid = <21db7ced72034e348ab2da6e3d8fecb1> flag = Flag.NONE pointer = FilePointer { attachmentLocator = AttachmentLocator { @@ -182,6 +183,7 @@ Frame { wasDownloaded = true }, MessageAttachment { + clientUuid = <21db7ced72034e348ab2da6e3d8fecb1> flag = Flag.NONE pointer = FilePointer { blurHash = "LfLh6Voa9NIW?wNF-ooL-;WAX8oy" @@ -211,13 +213,13 @@ Frame { Reaction { authorId = 4 emoji = "👍" - sentTimestamp = 1744320599094 + sentTimestamp = 1829195743902 sortOrder = 2 }, Reaction { authorId = 1 emoji = "👎" - sentTimestamp = 1744320599095 + sentTimestamp = 1829195743903 } ] text = Text { diff --git a/test-cases/chat_item_standard_message_standard_attachments_03.binproto b/test-cases/chat_item_standard_message_standard_attachments_03.binproto index b25e857d..df74044b 100644 Binary files a/test-cases/chat_item_standard_message_standard_attachments_03.binproto and b/test-cases/chat_item_standard_message_standard_attachments_03.binproto differ diff --git a/test-cases/chat_item_standard_message_standard_attachments_03.txtproto b/test-cases/chat_item_standard_message_standard_attachments_03.txtproto index 95fc6cf9..9db00794 100644 --- a/test-cases/chat_item_standard_message_standard_attachments_03.txtproto +++ b/test-cases/chat_item_standard_message_standard_attachments_03.txtproto @@ -131,6 +131,7 @@ Frame { standardMessage = StandardMessage { attachments = [ MessageAttachment { + clientUuid = <21db7ced72034e348ab2da6e3d8fecb1> flag = Flag.NONE pointer = FilePointer { backupLocator = BackupLocator { diff --git a/test-cases/chat_item_standard_message_standard_attachments_04.binproto b/test-cases/chat_item_standard_message_standard_attachments_04.binproto index a1f07671..73eb88a3 100644 Binary files a/test-cases/chat_item_standard_message_standard_attachments_04.binproto and b/test-cases/chat_item_standard_message_standard_attachments_04.binproto differ diff --git a/test-cases/chat_item_standard_message_standard_attachments_04.txtproto b/test-cases/chat_item_standard_message_standard_attachments_04.txtproto index cfec47c1..03e660f2 100644 --- a/test-cases/chat_item_standard_message_standard_attachments_04.txtproto +++ b/test-cases/chat_item_standard_message_standard_attachments_04.txtproto @@ -150,6 +150,7 @@ Frame { wasDownloaded = true }, MessageAttachment { + clientUuid = <21db7ced72034e348ab2da6e3d8fecb1> flag = Flag.NONE pointer = FilePointer { backupLocator = BackupLocator { @@ -187,8 +188,8 @@ Frame { Reaction { authorId = 4 emoji = "👍🏾" - sentTimestamp = 1744320599096 - sortOrder = 1812737042662 + sentTimestamp = 1829195743904 + sortOrder = 1813883921501 } ] text = Text { diff --git a/test-cases/chat_item_standard_message_standard_attachments_05.binproto b/test-cases/chat_item_standard_message_standard_attachments_05.binproto index fe7b6453..8bded676 100644 Binary files a/test-cases/chat_item_standard_message_standard_attachments_05.binproto and b/test-cases/chat_item_standard_message_standard_attachments_05.binproto differ diff --git a/test-cases/chat_item_standard_message_standard_attachments_05.txtproto b/test-cases/chat_item_standard_message_standard_attachments_05.txtproto index 8f1ceafa..1739dbb6 100644 --- a/test-cases/chat_item_standard_message_standard_attachments_05.txtproto +++ b/test-cases/chat_item_standard_message_standard_attachments_05.txtproto @@ -130,6 +130,7 @@ Frame { standardMessage = StandardMessage { attachments = [ MessageAttachment { + clientUuid = <21db7ced72034e348ab2da6e3d8fecb1> flag = Flag.NONE pointer = FilePointer { attachmentLocator = AttachmentLocator { @@ -169,6 +170,7 @@ Frame { wasDownloaded = true }, MessageAttachment { + clientUuid = <21db7ced72034e348ab2da6e3d8fecb1> flag = Flag.NONE pointer = FilePointer { blurHash = "LfLh6Voa9NIW?wNF-ooL-;WAX8oy" @@ -194,6 +196,7 @@ Frame { wasDownloaded = true }, MessageAttachment { + clientUuid = <21db7ced72034e348ab2da6e3d8fecb1> flag = Flag.NONE pointer = FilePointer { backupLocator = BackupLocator { @@ -219,13 +222,13 @@ Frame { Reaction { authorId = 1 emoji = "👩‍💻" - sentTimestamp = 1744320599097 - sortOrder = 1877653162635 + sentTimestamp = 1829195743905 + sortOrder = 1816975231491 }, Reaction { authorId = 1 emoji = "💀" - sentTimestamp = 1744320599093 + sentTimestamp = 1829195743901 sortOrder = 1 } ] diff --git a/test-cases/chat_item_standard_message_standard_attachments_07.binproto b/test-cases/chat_item_standard_message_standard_attachments_07.binproto index 005865be..f18c1704 100644 Binary files a/test-cases/chat_item_standard_message_standard_attachments_07.binproto and b/test-cases/chat_item_standard_message_standard_attachments_07.binproto differ diff --git a/test-cases/chat_item_standard_message_standard_attachments_07.txtproto b/test-cases/chat_item_standard_message_standard_attachments_07.txtproto index 592ecee1..5ef68954 100644 --- a/test-cases/chat_item_standard_message_standard_attachments_07.txtproto +++ b/test-cases/chat_item_standard_message_standard_attachments_07.txtproto @@ -131,6 +131,7 @@ Frame { standardMessage = StandardMessage { attachments = [ MessageAttachment { + clientUuid = <21db7ced72034e348ab2da6e3d8fecb1> flag = Flag.NONE pointer = FilePointer { backupLocator = BackupLocator { @@ -164,6 +165,7 @@ Frame { wasDownloaded = true }, MessageAttachment { + clientUuid = <21db7ced72034e348ab2da6e3d8fecb1> flag = Flag.NONE pointer = FilePointer { attachmentLocator = AttachmentLocator { @@ -189,7 +191,7 @@ Frame { Reaction { authorId = 4 emoji = "👍" - sentTimestamp = 1744320599094 + sentTimestamp = 1829195743902 sortOrder = 2 } ] diff --git a/test-cases/chat_item_standard_message_standard_attachments_08.binproto b/test-cases/chat_item_standard_message_standard_attachments_08.binproto index d83b9aed..a73c4e48 100644 Binary files a/test-cases/chat_item_standard_message_standard_attachments_08.binproto and b/test-cases/chat_item_standard_message_standard_attachments_08.binproto differ diff --git a/test-cases/chat_item_standard_message_standard_attachments_08.txtproto b/test-cases/chat_item_standard_message_standard_attachments_08.txtproto index e1650347..a4fc0ad6 100644 --- a/test-cases/chat_item_standard_message_standard_attachments_08.txtproto +++ b/test-cases/chat_item_standard_message_standard_attachments_08.txtproto @@ -146,6 +146,7 @@ Frame { wasDownloaded = true }, MessageAttachment { + clientUuid = <21db7ced72034e348ab2da6e3d8fecb1> flag = Flag.NONE pointer = FilePointer { blurHash = "LfLh6Voa9NIW?wNF-ooL-;WAX8oy" @@ -171,6 +172,7 @@ Frame { wasDownloaded = true }, MessageAttachment { + clientUuid = <21db7ced72034e348ab2da6e3d8fecb1> flag = Flag.NONE pointer = FilePointer { backupLocator = BackupLocator { @@ -217,13 +219,13 @@ Frame { Reaction { authorId = 1 emoji = "👎" - sentTimestamp = 1744320599095 + sentTimestamp = 1829195743903 }, Reaction { authorId = 4 emoji = "👍🏾" - sentTimestamp = 1744320599096 - sortOrder = 1812737042662 + sentTimestamp = 1829195743904 + sortOrder = 1813883921501 } ] text = Text { diff --git a/test-cases/chat_item_standard_message_standard_attachments_09.binproto b/test-cases/chat_item_standard_message_standard_attachments_09.binproto index d6db1a3e..207e6665 100644 Binary files a/test-cases/chat_item_standard_message_standard_attachments_09.binproto and b/test-cases/chat_item_standard_message_standard_attachments_09.binproto differ diff --git a/test-cases/chat_item_standard_message_standard_attachments_09.txtproto b/test-cases/chat_item_standard_message_standard_attachments_09.txtproto index 5c415195..add8def9 100644 --- a/test-cases/chat_item_standard_message_standard_attachments_09.txtproto +++ b/test-cases/chat_item_standard_message_standard_attachments_09.txtproto @@ -131,6 +131,7 @@ Frame { standardMessage = StandardMessage { attachments = [ MessageAttachment { + clientUuid = <21db7ced72034e348ab2da6e3d8fecb1> flag = Flag.NONE pointer = FilePointer { backupLocator = BackupLocator { diff --git a/test-cases/chat_item_standard_message_standard_attachments_10.binproto b/test-cases/chat_item_standard_message_standard_attachments_10.binproto index 17e594bb..8a83c1d5 100644 Binary files a/test-cases/chat_item_standard_message_standard_attachments_10.binproto and b/test-cases/chat_item_standard_message_standard_attachments_10.binproto differ diff --git a/test-cases/chat_item_standard_message_standard_attachments_10.txtproto b/test-cases/chat_item_standard_message_standard_attachments_10.txtproto index 9aa6fb23..ff89321e 100644 --- a/test-cases/chat_item_standard_message_standard_attachments_10.txtproto +++ b/test-cases/chat_item_standard_message_standard_attachments_10.txtproto @@ -144,6 +144,7 @@ Frame { wasDownloaded = true }, MessageAttachment { + clientUuid = <21db7ced72034e348ab2da6e3d8fecb1> flag = Flag.NONE pointer = FilePointer { attachmentLocator = AttachmentLocator { @@ -187,8 +188,8 @@ Frame { Reaction { authorId = 1 emoji = "👩‍💻" - sentTimestamp = 1744320599097 - sortOrder = 1877653162635 + sentTimestamp = 1829195743905 + sortOrder = 1816975231491 } ] text = Text { diff --git a/test-cases/chat_item_standard_message_standard_attachments_11.binproto b/test-cases/chat_item_standard_message_standard_attachments_11.binproto index cc26a770..0bc50040 100644 Binary files a/test-cases/chat_item_standard_message_standard_attachments_11.binproto and b/test-cases/chat_item_standard_message_standard_attachments_11.binproto differ diff --git a/test-cases/chat_item_standard_message_standard_attachments_11.txtproto b/test-cases/chat_item_standard_message_standard_attachments_11.txtproto index 14af2be1..c4de37f1 100644 --- a/test-cases/chat_item_standard_message_standard_attachments_11.txtproto +++ b/test-cases/chat_item_standard_message_standard_attachments_11.txtproto @@ -128,6 +128,7 @@ Frame { standardMessage = StandardMessage { attachments = [ MessageAttachment { + clientUuid = <21db7ced72034e348ab2da6e3d8fecb1> flag = Flag.NONE pointer = FilePointer { blurHash = "LfLh6Voa9NIW?wNF-ooL-;WAX8oy" @@ -153,6 +154,7 @@ Frame { wasDownloaded = true }, MessageAttachment { + clientUuid = <21db7ced72034e348ab2da6e3d8fecb1> flag = Flag.NONE pointer = FilePointer { backupLocator = BackupLocator { @@ -195,6 +197,7 @@ Frame { wasDownloaded = true }, MessageAttachment { + clientUuid = <21db7ced72034e348ab2da6e3d8fecb1> flag = Flag.NONE pointer = FilePointer { backupLocator = BackupLocator { @@ -217,13 +220,13 @@ Frame { Reaction { authorId = 1 emoji = "💀" - sentTimestamp = 1744320599093 + sentTimestamp = 1829195743901 sortOrder = 1 }, Reaction { authorId = 4 emoji = "👍" - sentTimestamp = 1744320599094 + sentTimestamp = 1829195743902 sortOrder = 2 } ] diff --git a/test-cases/chat_item_standard_message_standard_attachments_13.binproto b/test-cases/chat_item_standard_message_standard_attachments_13.binproto index 2979fe70..58be9927 100644 Binary files a/test-cases/chat_item_standard_message_standard_attachments_13.binproto and b/test-cases/chat_item_standard_message_standard_attachments_13.binproto differ diff --git a/test-cases/chat_item_standard_message_standard_attachments_13.txtproto b/test-cases/chat_item_standard_message_standard_attachments_13.txtproto index fdd3f26c..64c122c4 100644 --- a/test-cases/chat_item_standard_message_standard_attachments_13.txtproto +++ b/test-cases/chat_item_standard_message_standard_attachments_13.txtproto @@ -131,6 +131,7 @@ Frame { standardMessage = StandardMessage { attachments = [ MessageAttachment { + clientUuid = <21db7ced72034e348ab2da6e3d8fecb1> flag = Flag.NONE pointer = FilePointer { attachmentLocator = AttachmentLocator { @@ -170,6 +171,7 @@ Frame { wasDownloaded = true }, MessageAttachment { + clientUuid = <21db7ced72034e348ab2da6e3d8fecb1> flag = Flag.NONE pointer = FilePointer { blurHash = "LfLh6Voa9NIW?wNF-ooL-;WAX8oy" @@ -186,7 +188,7 @@ Frame { Reaction { authorId = 1 emoji = "👎" - sentTimestamp = 1744320599095 + sentTimestamp = 1829195743903 } ] text = Text { diff --git a/test-cases/chat_item_standard_message_standard_attachments_14.binproto b/test-cases/chat_item_standard_message_standard_attachments_14.binproto index c41edde0..fd1a930e 100644 Binary files a/test-cases/chat_item_standard_message_standard_attachments_14.binproto and b/test-cases/chat_item_standard_message_standard_attachments_14.binproto differ diff --git a/test-cases/chat_item_standard_message_standard_attachments_14.txtproto b/test-cases/chat_item_standard_message_standard_attachments_14.txtproto index c1dfc824..3560420d 100644 --- a/test-cases/chat_item_standard_message_standard_attachments_14.txtproto +++ b/test-cases/chat_item_standard_message_standard_attachments_14.txtproto @@ -143,6 +143,7 @@ Frame { wasDownloaded = true }, MessageAttachment { + clientUuid = <21db7ced72034e348ab2da6e3d8fecb1> flag = Flag.NONE pointer = FilePointer { backupLocator = BackupLocator { @@ -185,6 +186,7 @@ Frame { wasDownloaded = true }, MessageAttachment { + clientUuid = <21db7ced72034e348ab2da6e3d8fecb1> flag = Flag.NONE pointer = FilePointer { backupLocator = BackupLocator { @@ -222,14 +224,14 @@ Frame { Reaction { authorId = 4 emoji = "👍🏾" - sentTimestamp = 1744320599096 - sortOrder = 1812737042662 + sentTimestamp = 1829195743904 + sortOrder = 1813883921501 }, Reaction { authorId = 1 emoji = "👩‍💻" - sentTimestamp = 1744320599097 - sortOrder = 1877653162635 + sentTimestamp = 1829195743905 + sortOrder = 1816975231491 } ] text = Text { diff --git a/test-cases/chat_item_standard_message_with_quote_02.binproto b/test-cases/chat_item_standard_message_with_quote_02.binproto index 1efa731e..bd7c0f31 100644 Binary files a/test-cases/chat_item_standard_message_with_quote_02.binproto and b/test-cases/chat_item_standard_message_with_quote_02.binproto differ diff --git a/test-cases/chat_item_standard_message_with_quote_02.txtproto b/test-cases/chat_item_standard_message_with_quote_02.txtproto index 256e0549..259231dc 100644 --- a/test-cases/chat_item_standard_message_with_quote_02.txtproto +++ b/test-cases/chat_item_standard_message_with_quote_02.txtproto @@ -151,6 +151,11 @@ Frame { } standardMessage = StandardMessage { quote = Quote { + attachments = [ + QuotedAttachment { + contentType = "image/png" + } + ] authorId = 4 targetSentTimestamp = 1 type = Type.NORMAL diff --git a/test-cases/chat_item_standard_message_with_quote_06.binproto b/test-cases/chat_item_standard_message_with_quote_06.binproto index 417783c3..01c72344 100644 Binary files a/test-cases/chat_item_standard_message_with_quote_06.binproto and b/test-cases/chat_item_standard_message_with_quote_06.binproto differ diff --git a/test-cases/chat_item_standard_message_with_quote_06.txtproto b/test-cases/chat_item_standard_message_with_quote_06.txtproto index ee5c0afe..7d72a06c 100644 --- a/test-cases/chat_item_standard_message_with_quote_06.txtproto +++ b/test-cases/chat_item_standard_message_with_quote_06.txtproto @@ -152,6 +152,11 @@ Frame { } standardMessage = StandardMessage { quote = Quote { + attachments = [ + QuotedAttachment { + contentType = "image/png" + } + ] authorId = 4 targetSentTimestamp = 1 type = Type.NORMAL diff --git a/test-cases/chat_item_standard_message_with_quote_10.binproto b/test-cases/chat_item_standard_message_with_quote_10.binproto index 76daa959..0d449dd8 100644 Binary files a/test-cases/chat_item_standard_message_with_quote_10.binproto and b/test-cases/chat_item_standard_message_with_quote_10.binproto differ diff --git a/test-cases/chat_item_standard_message_with_quote_10.txtproto b/test-cases/chat_item_standard_message_with_quote_10.txtproto index 0bc26a6a..794ac954 100644 --- a/test-cases/chat_item_standard_message_with_quote_10.txtproto +++ b/test-cases/chat_item_standard_message_with_quote_10.txtproto @@ -152,6 +152,11 @@ Frame { } standardMessage = StandardMessage { quote = Quote { + attachments = [ + QuotedAttachment { + contentType = "image/png" + } + ] authorId = 4 targetSentTimestamp = 1 type = Type.NORMAL diff --git a/test-cases/chat_item_standard_message_with_quote_14.binproto b/test-cases/chat_item_standard_message_with_quote_14.binproto index 76ae7aa0..a527dac3 100644 Binary files a/test-cases/chat_item_standard_message_with_quote_14.binproto and b/test-cases/chat_item_standard_message_with_quote_14.binproto differ diff --git a/test-cases/chat_item_standard_message_with_quote_14.txtproto b/test-cases/chat_item_standard_message_with_quote_14.txtproto index ebf0d778..0419a84d 100644 --- a/test-cases/chat_item_standard_message_with_quote_14.txtproto +++ b/test-cases/chat_item_standard_message_with_quote_14.txtproto @@ -153,6 +153,11 @@ Frame { } standardMessage = StandardMessage { quote = Quote { + attachments = [ + QuotedAttachment { + contentType = "image/png" + } + ] authorId = 4 targetSentTimestamp = 1 type = Type.NORMAL