diff --git a/src/main/kotlin/Permutations.kt b/src/main/kotlin/Permutations.kt index 7411864..842637a 100644 --- a/src/main/kotlin/Permutations.kt +++ b/src/main/kotlin/Permutations.kt @@ -311,6 +311,13 @@ object Generators { contentTypeGenerator = Generators.list("image/jpeg", "image/png") ) + fun avatarFilePointer(): Generator = filePointerInternal( + includeFileName = true, + includeMediaSize = true, + includeCaption = false, + contentTypeGenerator = Generators.list("image/jpeg", "image/png") + ) + fun filePointer( contentTypeGenerator: Generator = Generators.list("image/jpeg", "image/png", "image/gif", "audio/mp3", "video/mp4") ): Generator = filePointerInternal( diff --git a/src/main/kotlin/tests/ChatItemContactMessageTestCase.kt b/src/main/kotlin/tests/ChatItemContactMessageTestCase.kt index 7e93100..7ec851c 100644 --- a/src/main/kotlin/tests/ChatItemContactMessageTestCase.kt +++ b/src/main/kotlin/tests/ChatItemContactMessageTestCase.kt @@ -3,6 +3,7 @@ package tests import PermutationScope import TestCase import asList +import nullable import oneOf import org.thoughtcrime.securesms.backup.v2.proto.ChatItem import org.thoughtcrime.securesms.backup.v2.proto.ContactAttachment @@ -51,7 +52,7 @@ object ChatItemContactMessageTestCase : TestCase("chat_item_contact_message") { } else { StandardFrames.recipientAlice.recipient!!.id }, - dateSent = someTimestamp(), + dateSent = someNonZeroTimestamp(), incoming = incoming as ChatItem.IncomingMessageDetails?, outgoing = outgoing as ChatItem.OutgoingMessageDetails?, contactMessage = ContactMessage( @@ -59,7 +60,10 @@ object ChatItemContactMessageTestCase : TestCase("chat_item_contact_message") { frames += ContactAttachment( name = ContactAttachment.Name( givenName = someNonEmptyString(), - familyName = someNonEmptyString() + familyName = someNonEmptyString(), + middleName = someNonEmptyString(), + prefix = someNonEmptyString(), + suffix = someNonEmptyString() ), number = Generators.permutation { frames += ContactAttachment.Phone( @@ -82,25 +86,30 @@ object ChatItemContactMessageTestCase : TestCase("chat_item_contact_message") { ) }.asList(0, 1, 2).let { some(it) }, address = Generators.permutation { + // All-empty addresses are invalid, so ensure that at least one + // address field has a non-null, non-empty string. + val streetGenerator = Generators.list(null, SeededRandom.string(), SeededRandom.string()) + val poBoxGenerator = Generators.list(SeededRandom.string(), null, SeededRandom.string()) + frames += ContactAttachment.PostalAddress( type = someEnum( ContactAttachment.PostalAddress.Type::class.java, excluding = ContactAttachment.PostalAddress.Type.UNKNOWN ), label = someNullableString(), - street = someNonEmptyString(), - pobox = someNullableString(), + street = some(streetGenerator), + pobox = some(poBoxGenerator), neighborhood = someNullableString(), - city = someNonEmptyString(), + city = someNullableString(), region = someNullableString(), postcode = someNullableString(), country = someNullableString() ) }.asList(0, 1, 2).let { some(it) }, organization = someNullableString(), - avatar = someNullableFilePointer() + avatar = some(Generators.avatarFilePointer().nullable()) ) - }.asList(1, 2).let { some(it) } + }.asList(1).let { some(it) } ) ) ) diff --git a/src/main/kotlin/tests/ChatItemExpirationTimerUpdateTestCase.kt b/src/main/kotlin/tests/ChatItemExpirationTimerUpdateTestCase.kt index 7b91086..8be5f52 100644 --- a/src/main/kotlin/tests/ChatItemExpirationTimerUpdateTestCase.kt +++ b/src/main/kotlin/tests/ChatItemExpirationTimerUpdateTestCase.kt @@ -22,7 +22,7 @@ object ChatItemExpirationTimerUpdateTestCase : TestCase("chat_item_expiration_ti chatItem = ChatItem( chatId = StandardFrames.chatAlice.chat!!.id, authorId = some(Generators.list(StandardFrames.recipientSelf.recipient!!.id, StandardFrames.recipientAlice.recipient!!.id)), - dateSent = someTimestamp(), + dateSent = someNonZeroTimestamp(), directionless = ChatItem.DirectionlessMessageDetails(), updateMessage = ChatUpdateMessage( expirationTimerChange = ExpirationTimerChatUpdate( diff --git a/src/main/kotlin/tests/ChatItemProfileChangeUpdateTestCase.kt b/src/main/kotlin/tests/ChatItemProfileChangeUpdateTestCase.kt index aab3732..c9d498f 100644 --- a/src/main/kotlin/tests/ChatItemProfileChangeUpdateTestCase.kt +++ b/src/main/kotlin/tests/ChatItemProfileChangeUpdateTestCase.kt @@ -21,7 +21,7 @@ object ChatItemProfileChangeUpdateTestCase : TestCase("chat_item_profile_change_ chatItem = ChatItem( chatId = StandardFrames.chatAlice.chat!!.id, authorId = StandardFrames.recipientAlice.recipient!!.id, - dateSent = someTimestamp(), + dateSent = someNonZeroTimestamp(), directionless = ChatItem.DirectionlessMessageDetails(), updateMessage = ChatUpdateMessage( profileChange = ProfileChangeChatUpdate( diff --git a/src/main/kotlin/tests/ChatItemSessionSwitchoverUpdateTestCase.kt b/src/main/kotlin/tests/ChatItemSessionSwitchoverUpdateTestCase.kt index aa1730b..b579a21 100644 --- a/src/main/kotlin/tests/ChatItemSessionSwitchoverUpdateTestCase.kt +++ b/src/main/kotlin/tests/ChatItemSessionSwitchoverUpdateTestCase.kt @@ -21,7 +21,7 @@ object ChatItemSessionSwitchoverUpdateTestCase : TestCase("chat_item_session_swi chatItem = ChatItem( chatId = StandardFrames.chatAlice.chat!!.id, authorId = StandardFrames.recipientAlice.recipient!!.id, - dateSent = someTimestamp(), + dateSent = someNonZeroTimestamp(), directionless = ChatItem.DirectionlessMessageDetails(), updateMessage = ChatUpdateMessage( sessionSwitchover = SessionSwitchoverChatUpdate( diff --git a/src/main/kotlin/tests/ChatItemSimpleUpdatesTestCase.kt b/src/main/kotlin/tests/ChatItemSimpleUpdatesTestCase.kt index 9378364..b281058 100644 --- a/src/main/kotlin/tests/ChatItemSimpleUpdatesTestCase.kt +++ b/src/main/kotlin/tests/ChatItemSimpleUpdatesTestCase.kt @@ -22,7 +22,7 @@ object ChatItemSimpleUpdatesTestCase : TestCase("chat_item_simple_updates") { chatItem = ChatItem( chatId = StandardFrames.chatAlice.chat!!.id, authorId = StandardFrames.recipientAlice.recipient!!.id, - dateSent = someTimestamp(), + dateSent = someNonZeroTimestamp(), directionless = ChatItem.DirectionlessMessageDetails(), updateMessage = ChatUpdateMessage( simpleUpdate = SimpleChatUpdate( diff --git a/src/main/kotlin/tests/ChatItemThreadMergeUpdateTestCase.kt b/src/main/kotlin/tests/ChatItemThreadMergeUpdateTestCase.kt index a4e0fcf..424bdd2 100644 --- a/src/main/kotlin/tests/ChatItemThreadMergeUpdateTestCase.kt +++ b/src/main/kotlin/tests/ChatItemThreadMergeUpdateTestCase.kt @@ -17,7 +17,7 @@ object ChatItemThreadMergeUpdateTestCase : TestCase("chat_item_thread_merge_upda chatItem = ChatItem( chatId = StandardFrames.chatAlice.chat!!.id, authorId = StandardFrames.recipientAlice.recipient!!.id, - dateSent = someTimestamp(), + dateSent = someNonZeroTimestamp(), directionless = ChatItem.DirectionlessMessageDetails(), updateMessage = ChatUpdateMessage( threadMerge = ThreadMergeChatUpdate( diff --git a/src/main/proto/Backup.proto b/src/main/proto/Backup.proto index 5f35ad1..8500094 100644 --- a/src/main/proto/Backup.proto +++ b/src/main/proto/Backup.proto @@ -475,7 +475,6 @@ message ContactAttachment { optional string prefix = 3; optional string suffix = 4; optional string middleName = 5; - optional string displayName = 6; } message Phone { @@ -1150,4 +1149,4 @@ message ChatStyle { } bool dimWallpaperInDarkMode = 7; -} \ No newline at end of file +} diff --git a/test-cases/chat_item_contact_message_00.binproto b/test-cases/chat_item_contact_message_00.binproto index 47616ee..ec3dcb9 100644 Binary files a/test-cases/chat_item_contact_message_00.binproto and b/test-cases/chat_item_contact_message_00.binproto differ diff --git a/test-cases/chat_item_contact_message_00.txtproto b/test-cases/chat_item_contact_message_00.txtproto index 28583e4..279c504 100644 --- a/test-cases/chat_item_contact_message_00.txtproto +++ b/test-cases/chat_item_contact_message_00.txtproto @@ -122,10 +122,14 @@ Frame { name = Name { familyName = "wSQuECQWuuuEFC" givenName = "iJZOYWfDTgpIJq" + middleName = "FXMOBqmCd" + prefix = "IBHCZ" + suffix = "nSfTgFokLHLmtL" } } ] } + dateSent = 1680366577838 incoming = IncomingMessageDetails { dateReceived = 1702291826269 dateServerSent = 1794124103201 diff --git a/test-cases/chat_item_contact_message_01.binproto b/test-cases/chat_item_contact_message_01.binproto index 7eec850..3eca4eb 100644 Binary files a/test-cases/chat_item_contact_message_01.binproto and b/test-cases/chat_item_contact_message_01.binproto differ diff --git a/test-cases/chat_item_contact_message_01.txtproto b/test-cases/chat_item_contact_message_01.txtproto index 49c78fa..50db2ee 100644 --- a/test-cases/chat_item_contact_message_01.txtproto +++ b/test-cases/chat_item_contact_message_01.txtproto @@ -121,114 +121,43 @@ Frame { ContactAttachment { address = [ PostalAddress { - city = "nZhuXJWXD" - street = "hyZCTrFaZqB" + pobox = "FzSlNk" type = Type.HOME } ] avatar = FilePointer { backupLocator = BackupLocator { - digest = <6b61c36c807559220985f14b0252e833> - key = <8d3cda32685e0086546218a42159dc48> - mediaName = "6b61c36c807559220985f14b0252e833" - size = 1465688382 + digest = <245052a930af623c6f503cf7bbfd9a0d> + key = <1c3701139655d30267e5ccd3ede8adb0> + mediaName = "245052a930af623c6f503cf7bbfd9a0d" + size = 1120972837 } contentType = "image/jpeg" } email = [ Email { type = Type.HOME - value_ = "qaczwFdzHL@okMZPmjwqTJ.com" + value_ = "xHDjKnB@pjPVt.com" } ] name = Name { familyName = "CqQNEWGrAzrHY" givenName = "SkLQGER" + middleName = "WyYPnka" + prefix = "OtEhcCMeej" + suffix = "dKPNuFXypj" } number = [ Phone { type = Type.HOME - value_ = "447700900133" + value_ = "447700900571" } ] organization = "" - }, - ContactAttachment { - address = [ - PostalAddress { - city = "xnqeB" - country = "" - label = "" - neighborhood = "" - pobox = "" - postcode = "" - region = "" - street = "UUiitmkHLv" - type = Type.WORK - }, - PostalAddress { - city = "nZhuXJWXD" - country = "fCpzjVLQFQh" - label = "tAKtPVXV" - neighborhood = "FzSlNk" - pobox = "jrJToWuNQzhOBq" - postcode = "YQcczeJZd" - region = "rOHZwwEoKI" - street = "hyZCTrFaZqB" - type = Type.CUSTOM - } - ] - avatar = FilePointer { - backupLocator = BackupLocator { - cdnNumber = 2 - digest = <85e08d21245052a930af623c6f503cf7> - key = - mediaName = "85e08d21245052a930af623c6f503cf7" - size = 658677648 - transitCdnKey = "NeUzkxb" - } - blurHash = "LfLh6Voa9NIW?wNF-ooL-;WAX8oy" - caption = "" - contentType = "image/png" - fileName = "TwOar" - height = 462 - incrementalMac = <0891e5f69b302a9bf97a7ea0e423fd11> - incrementalMacChunkSize = 2048 - width = 2972 - } - email = [ - Email { - label = "" - type = Type.MOBILE - value_ = "PMVYoUEqXx@DXOZYcESWutf.org" - }, - Email { - label = "tWAZn" - type = Type.WORK - value_ = "qaczwFdzHL@okMZPmjwqTJ.com" - } - ] - name = Name { - familyName = "wSQuECQWuuuEFC" - givenName = "iJZOYWfDTgpIJq" - } - number = [ - Phone { - label = "" - type = Type.MOBILE - value_ = "19325550110" - }, - Phone { - label = "qmCdYWyYPnka" - type = Type.WORK - value_ = "447700900133" - } - ] - organization = "pKBuwAHesX" } ] } - dateSent = 1680366577838 + dateSent = 1688484601889 incoming = IncomingMessageDetails { dateReceived = 1702291826270 dateServerSent = 1794124103202 diff --git a/test-cases/chat_item_contact_message_02.binproto b/test-cases/chat_item_contact_message_02.binproto index ec40750..a81eb4f 100644 Binary files a/test-cases/chat_item_contact_message_02.binproto and b/test-cases/chat_item_contact_message_02.binproto differ diff --git a/test-cases/chat_item_contact_message_02.txtproto b/test-cases/chat_item_contact_message_02.txtproto index d0cf809..91a3c06 100644 --- a/test-cases/chat_item_contact_message_02.txtproto +++ b/test-cases/chat_item_contact_message_02.txtproto @@ -119,32 +119,82 @@ Frame { contactMessage = ContactMessage { contact = [ ContactAttachment { + address = [ + PostalAddress { + city = "" + country = "" + label = "" + neighborhood = "" + postcode = "" + region = "" + street = "jrJToWuNQzhOBq" + type = Type.WORK + }, + PostalAddress { + city = "YQcczeJZd" + country = "fnyqwIJn" + label = "nZhuXJWXD" + neighborhood = "rOHZwwEoKI" + pobox = "ldxrj" + postcode = "bdigdRgXvkkw" + region = "fCpzjVLQFQh" + street = "unEEaAnFRLrvz" + type = Type.CUSTOM + } + ] avatar = FilePointer { backupLocator = BackupLocator { - cdnNumber = 3 - digest = <14d067b00a9b72659c04a5715eff403d> - key = <8eb83f1ec7d6521b7624aafb8f19d75e> - mediaName = "14d067b00a9b72659c04a5715eff403d" - size = 2122135182 - transitCdnKey = "ISQpKbdZI" - transitCdnNumber = 2 + cdnNumber = 2 + digest = <8eb83f1ec7d6521b7624aafb8f19d75e> + key = <842db2adbe12faf29a852ad28dafc528> + mediaName = "8eb83f1ec7d6521b7624aafb8f19d75e" + size = 1518066505 + transitCdnKey = "QSFzJCDXD" } - blurHash = "LGG*f,-i.l-o?G$~?Zt7pHN1=tE3" - caption = "YOffzkwP" - contentType = "image/gif" - fileName = "eyxBcYxd" - height = 2696 - width = 895 + blurHash = "LfLh6Voa9NIW?wNF-ooL-;WAX8oy" + contentType = "image/png" + fileName = "wPOZvhLDS" + height = 4021 + incrementalMac = <591eeb9b35c876bc7f5b1be8870f7902> + incrementalMacChunkSize = 2048 + width = 2502 } + email = [ + Email { + label = "" + type = Type.MOBILE + value_ = "OymkbGZomPlLHy@LGdFwzenIne.org" + }, + Email { + label = "VzsXSlnJDCHS" + type = Type.WORK + value_ = "xHDjKnB@pjPVt.com" + } + ] name = Name { - familyName = "CqQNEWGrAzrHY" - givenName = "SkLQGER" + familyName = "wSQuECQWuuuEFC" + givenName = "iJZOYWfDTgpIJq" + middleName = "FXMOBqmCd" + prefix = "IBHCZ" + suffix = "nSfTgFokLHLmtL" } - organization = "yyKbzaMMpNLPKQ" + number = [ + Phone { + label = "" + type = Type.MOBILE + value_ = "447700900496" + }, + Phone { + label = "KGTWpTUETYz" + type = Type.WORK + value_ = "447700900571" + } + ] + organization = "AUJhqwqw" } ] } - dateSent = 1688484601889 + dateSent = 1680366577838 outgoing = OutgoingMessageDetails { sendStatus = [ SendStatus { diff --git a/test-cases/chat_item_contact_message_03.binproto b/test-cases/chat_item_contact_message_03.binproto index 8ccdbf1..0e1419f 100644 Binary files a/test-cases/chat_item_contact_message_03.binproto and b/test-cases/chat_item_contact_message_03.binproto differ diff --git a/test-cases/chat_item_contact_message_03.txtproto b/test-cases/chat_item_contact_message_03.txtproto index 4b5e83f..1419b07 100644 --- a/test-cases/chat_item_contact_message_03.txtproto +++ b/test-cases/chat_item_contact_message_03.txtproto @@ -119,112 +119,34 @@ Frame { contactMessage = ContactMessage { contact = [ ContactAttachment { - address = [ - PostalAddress { - city = "xnqeB" - country = "aeMuBzXfTMvHb" - label = "jjbudVyDygx" - neighborhood = "ldxrj" - pobox = "unEEaAnFRLrvz" - postcode = "cgnvkuuYU" - region = "yYPnDcOB" - street = "UUiitmkHLv" - type = Type.HOME - } - ] avatar = FilePointer { backupLocator = BackupLocator { - digest = <77380521362db73801df7d496ce0af3a> - key = - mediaName = "77380521362db73801df7d496ce0af3a" - size = 1465688382 + cdnNumber = 3 + digest = <8e0d273ad3cc7d8c285504cdf1b52578> + key = <362db73801df7d496ce0af3aa0005822> + mediaName = "8e0d273ad3cc7d8c285504cdf1b52578" + size = 1732766388 + transitCdnKey = "XDYLorFptC" + transitCdnNumber = 2 } - caption = "ZvhLDSCjVGP" - contentType = "audio/mp3" - height = 1505 - incrementalMac = <0891e5f69b302a9bf97a7ea0e423fd11> - incrementalMacChunkSize = 2048 - width = 925 + blurHash = "LGG*f,-i.l-o?G$~?Zt7pHN1=tE3" + contentType = "image/jpeg" + fileName = "jVGPMBX" + height = 485 + width = 3317 } - email = [ - Email { - label = "GxHDjKnBipjP" - type = Type.CUSTOM - value_ = "PMVYoUEqXx@DXOZYcESWutf.org" - } - ] - name = Name { - familyName = "wSQuECQWuuuEFC" - givenName = "iJZOYWfDTgpIJq" - } - number = [ - Phone { - label = "IBHCZ" - type = Type.CUSTOM - value_ = "19325550110" - } - ] - }, - ContactAttachment { - address = [ - PostalAddress { - city = "nZhuXJWXD" - street = "hyZCTrFaZqB" - type = Type.HOME - }, - PostalAddress { - city = "xnqeB" - country = "" - label = "" - neighborhood = "" - pobox = "" - postcode = "" - region = "" - street = "UUiitmkHLv" - type = Type.WORK - } - ] - avatar = FilePointer { - attachmentLocator = AttachmentLocator { - cdnKey = "DpVLDtDu" - digest = - key = - size = 827594331 - } - blurHash = "LJR,66e.~Cxu%LoLM|S2%3WWIosm" - contentType = "video/mp4" - fileName = "TwOar" - } - email = [ - Email { - type = Type.HOME - value_ = "qaczwFdzHL@okMZPmjwqTJ.com" - }, - Email { - label = "" - type = Type.MOBILE - value_ = "PMVYoUEqXx@DXOZYcESWutf.org" - } - ] name = Name { familyName = "CqQNEWGrAzrHY" givenName = "SkLQGER" + middleName = "WyYPnka" + prefix = "OtEhcCMeej" + suffix = "dKPNuFXypj" } - number = [ - Phone { - type = Type.HOME - value_ = "447700900133" - }, - Phone { - label = "" - type = Type.MOBILE - value_ = "19325550110" - } - ] - organization = "" + organization = "CsyUnSuQFB" } ] } + dateSent = 1688484601889 outgoing = OutgoingMessageDetails { sendStatus = [ SendStatus { diff --git a/test-cases/chat_item_contact_message_04.binproto b/test-cases/chat_item_contact_message_04.binproto index 84c98b1..60ee3ed 100644 Binary files a/test-cases/chat_item_contact_message_04.binproto and b/test-cases/chat_item_contact_message_04.binproto differ diff --git a/test-cases/chat_item_contact_message_04.txtproto b/test-cases/chat_item_contact_message_04.txtproto index 7455581..52da1a6 100644 --- a/test-cases/chat_item_contact_message_04.txtproto +++ b/test-cases/chat_item_contact_message_04.txtproto @@ -119,29 +119,53 @@ Frame { contactMessage = ContactMessage { contact = [ ContactAttachment { + address = [ + PostalAddress { + city = "cgnvkuuYU" + country = "jrfsmPFkkXPf" + label = "xnqeB" + neighborhood = "yYPnDcOB" + pobox = "FzSlNk" + postcode = "GtbGdLaxUF" + region = "aeMuBzXfTMvHb" + type = Type.HOME + } + ] avatar = FilePointer { - attachmentLocator = AttachmentLocator { - cdnKey = "RIdlg" - cdnNumber = 2 - digest = <593932b06551b2e2890f59e14a0cef78> - key = <6d8b5d468bdd8b16ebceb4fa96febac7> - size = 1235219109 - uploadTimestamp = 1815031729274 + backupLocator = BackupLocator { + digest = <178cfdca85d0ff83fb34c8dfda308b20> + key = <89a2fe07a6d23413b67218cbbbd8a380> + mediaName = "178cfdca85d0ff83fb34c8dfda308b20" + size = 1120972837 } - blurHash = "LIM:}RB8?-^L.d4]O.nkK_ruI?od" - caption = "" - contentType = "image/jpeg" - fileName = "eyxBcYxd" - height = 462 - incrementalMac = <0891e5f69b302a9bf97a7ea0e423fd11> + blurHash = "LdIOX?NE9Y4T~pRPRjE1X9f5jrt6" + contentType = "image/png" + height = 3033 + incrementalMac = <591eeb9b35c876bc7f5b1be8870f7902> incrementalMacChunkSize = 2048 - width = 2972 + width = 267 } + email = [ + Email { + label = "KhylALWHDDLpj" + type = Type.CUSTOM + value_ = "OymkbGZomPlLHy@LGdFwzenIne.org" + } + ] name = Name { familyName = "wSQuECQWuuuEFC" givenName = "iJZOYWfDTgpIJq" + middleName = "FXMOBqmCd" + prefix = "IBHCZ" + suffix = "nSfTgFokLHLmtL" } - organization = "pKBuwAHesX" + number = [ + Phone { + label = "CvxAOiiqzDNPnb" + type = Type.CUSTOM + value_ = "447700900496" + } + ] } ] } diff --git a/test-cases/chat_item_contact_message_05.binproto b/test-cases/chat_item_contact_message_05.binproto index eca780c..27f4c25 100644 Binary files a/test-cases/chat_item_contact_message_05.binproto and b/test-cases/chat_item_contact_message_05.binproto differ diff --git a/test-cases/chat_item_contact_message_05.txtproto b/test-cases/chat_item_contact_message_05.txtproto index 19c6999..0f6fc46 100644 --- a/test-cases/chat_item_contact_message_05.txtproto +++ b/test-cases/chat_item_contact_message_05.txtproto @@ -121,107 +121,61 @@ Frame { ContactAttachment { address = [ PostalAddress { - city = "nZhuXJWXD" - country = "fCpzjVLQFQh" - label = "tAKtPVXV" - neighborhood = "FzSlNk" - pobox = "jrJToWuNQzhOBq" - postcode = "YQcczeJZd" - region = "rOHZwwEoKI" - street = "hyZCTrFaZqB" - type = Type.CUSTOM - } - ] - avatar = FilePointer { - attachmentLocator = AttachmentLocator { - cdnKey = "DpVLDtDu" - cdnNumber = 3 - digest = - key = <6570c694db1bb6ddd81bfc351add5a15> - size = 1171631170 - uploadTimestamp = 1794847194749 - } - caption = "YOffzkwP" - contentType = "image/png" - height = 2696 - width = 895 - } - email = [ - Email { - label = "tWAZn" - type = Type.WORK - value_ = "qaczwFdzHL@okMZPmjwqTJ.com" - } - ] - name = Name { - familyName = "CqQNEWGrAzrHY" - givenName = "SkLQGER" - } - number = [ - Phone { - label = "qmCdYWyYPnka" - type = Type.WORK - value_ = "447700900133" - } - ] - organization = "yyKbzaMMpNLPKQ" - }, - ContactAttachment { - address = [ - PostalAddress { - city = "xnqeB" - country = "aeMuBzXfTMvHb" - label = "jjbudVyDygx" - neighborhood = "ldxrj" - pobox = "unEEaAnFRLrvz" - postcode = "cgnvkuuYU" - region = "yYPnDcOB" - street = "UUiitmkHLv" + pobox = "FzSlNk" type = Type.HOME }, PostalAddress { - city = "nZhuXJWXD" - street = "hyZCTrFaZqB" - type = Type.HOME + city = "" + country = "" + label = "" + neighborhood = "" + postcode = "" + region = "" + street = "jrJToWuNQzhOBq" + type = Type.WORK } ] avatar = FilePointer { - blurHash = "LfLh6Voa9NIW?wNF-ooL-;WAX8oy" - caption = "ZvhLDSCjVGP" - contentType = "image/gif" - fileName = "TwOar" - height = 1505 - incrementalMac = <0891e5f69b302a9bf97a7ea0e423fd11> - incrementalMacChunkSize = 2048 - invalidAttachmentLocator = InvalidAttachmentLocator {} - width = 925 + attachmentLocator = AttachmentLocator { + cdnKey = "fhiGYdtFepxf" + digest = + key = <7698f67aa2b531de63dce70e8cb7639e> + size = 1675460427 + } + blurHash = "LJR,66e.~Cxu%LoLM|S2%3WWIosm" + contentType = "image/jpeg" + fileName = "wPOZvhLDS" } email = [ Email { - label = "GxHDjKnBipjP" - type = Type.CUSTOM - value_ = "PMVYoUEqXx@DXOZYcESWutf.org" + type = Type.HOME + value_ = "xHDjKnB@pjPVt.com" }, Email { - type = Type.HOME - value_ = "qaczwFdzHL@okMZPmjwqTJ.com" + label = "" + type = Type.MOBILE + value_ = "OymkbGZomPlLHy@LGdFwzenIne.org" } ] name = Name { - familyName = "wSQuECQWuuuEFC" - givenName = "iJZOYWfDTgpIJq" + familyName = "CqQNEWGrAzrHY" + givenName = "SkLQGER" + middleName = "WyYPnka" + prefix = "OtEhcCMeej" + suffix = "dKPNuFXypj" } number = [ Phone { - label = "IBHCZ" - type = Type.CUSTOM - value_ = "19325550110" + type = Type.HOME + value_ = "447700900571" }, Phone { - type = Type.HOME - value_ = "447700900133" + label = "" + type = Type.MOBILE + value_ = "447700900496" } ] + organization = "" } ] } diff --git a/test-cases/chat_item_contact_message_06.binproto b/test-cases/chat_item_contact_message_06.binproto index 33580d0..95a9806 100644 Binary files a/test-cases/chat_item_contact_message_06.binproto and b/test-cases/chat_item_contact_message_06.binproto differ diff --git a/test-cases/chat_item_contact_message_06.txtproto b/test-cases/chat_item_contact_message_06.txtproto index be5985e..3852597 100644 --- a/test-cases/chat_item_contact_message_06.txtproto +++ b/test-cases/chat_item_contact_message_06.txtproto @@ -119,13 +119,35 @@ Frame { contactMessage = ContactMessage { contact = [ ContactAttachment { + avatar = FilePointer { + attachmentLocator = AttachmentLocator { + cdnKey = "rjGaq" + cdnNumber = 2 + digest = <4c5d85908dd94664eac043a8790aa5e6> + key = <0385e95b9fb531fc34977acc1143c272> + size = 2144222294 + uploadTimestamp = 1899107889752 + } + blurHash = "LIM:}RB8?-^L.d4]O.nkK_ruI?od" + contentType = "image/png" + fileName = "jVGPMBX" + height = 4021 + incrementalMac = <591eeb9b35c876bc7f5b1be8870f7902> + incrementalMacChunkSize = 2048 + width = 2502 + } name = Name { familyName = "wSQuECQWuuuEFC" givenName = "iJZOYWfDTgpIJq" + middleName = "FXMOBqmCd" + prefix = "IBHCZ" + suffix = "nSfTgFokLHLmtL" } + organization = "AUJhqwqw" } ] } + dateSent = 1680366577838 outgoing = OutgoingMessageDetails { sendStatus = [ SendStatus { diff --git a/test-cases/chat_item_contact_message_07.binproto b/test-cases/chat_item_contact_message_07.binproto index 29491f2..1341f0d 100644 Binary files a/test-cases/chat_item_contact_message_07.binproto and b/test-cases/chat_item_contact_message_07.binproto differ diff --git a/test-cases/chat_item_contact_message_07.txtproto b/test-cases/chat_item_contact_message_07.txtproto index 8df3b81..2473a14 100644 --- a/test-cases/chat_item_contact_message_07.txtproto +++ b/test-cases/chat_item_contact_message_07.txtproto @@ -121,114 +121,56 @@ Frame { ContactAttachment { address = [ PostalAddress { - city = "nZhuXJWXD" - street = "hyZCTrFaZqB" - type = Type.HOME + city = "YQcczeJZd" + country = "fnyqwIJn" + label = "nZhuXJWXD" + neighborhood = "rOHZwwEoKI" + pobox = "ldxrj" + postcode = "bdigdRgXvkkw" + region = "fCpzjVLQFQh" + street = "unEEaAnFRLrvz" + type = Type.CUSTOM } ] avatar = FilePointer { - backupLocator = BackupLocator { - digest = <6b61c36c807559220985f14b0252e833> - key = <8d3cda32685e0086546218a42159dc48> - mediaName = "6b61c36c807559220985f14b0252e833" - size = 1465688382 + attachmentLocator = AttachmentLocator { + cdnKey = "fhiGYdtFepxf" + cdnNumber = 3 + digest = <73402d75b81bc8b903fffc37c2b6da39> + key = <4b63ffc95bcf12cd19c3daecb8416143> + size = 1478040748 + uploadTimestamp = 1781250150712 } contentType = "image/jpeg" + height = 485 + width = 3317 } email = [ Email { - type = Type.HOME - value_ = "qaczwFdzHL@okMZPmjwqTJ.com" + label = "VzsXSlnJDCHS" + type = Type.WORK + value_ = "xHDjKnB@pjPVt.com" } ] name = Name { familyName = "CqQNEWGrAzrHY" givenName = "SkLQGER" + middleName = "WyYPnka" + prefix = "OtEhcCMeej" + suffix = "dKPNuFXypj" } number = [ Phone { - type = Type.HOME - value_ = "447700900133" - } - ] - organization = "" - }, - ContactAttachment { - address = [ - PostalAddress { - city = "xnqeB" - country = "" - label = "" - neighborhood = "" - pobox = "" - postcode = "" - region = "" - street = "UUiitmkHLv" - type = Type.WORK - }, - PostalAddress { - city = "nZhuXJWXD" - country = "fCpzjVLQFQh" - label = "tAKtPVXV" - neighborhood = "FzSlNk" - pobox = "jrJToWuNQzhOBq" - postcode = "YQcczeJZd" - region = "rOHZwwEoKI" - street = "hyZCTrFaZqB" - type = Type.CUSTOM - } - ] - avatar = FilePointer { - backupLocator = BackupLocator { - cdnNumber = 2 - digest = <85e08d21245052a930af623c6f503cf7> - key = - mediaName = "85e08d21245052a930af623c6f503cf7" - size = 658677648 - transitCdnKey = "NeUzkxb" - } - blurHash = "LfLh6Voa9NIW?wNF-ooL-;WAX8oy" - caption = "" - contentType = "image/png" - fileName = "TwOar" - height = 462 - incrementalMac = <0891e5f69b302a9bf97a7ea0e423fd11> - incrementalMacChunkSize = 2048 - width = 2972 - } - email = [ - Email { - label = "" - type = Type.MOBILE - value_ = "PMVYoUEqXx@DXOZYcESWutf.org" - }, - Email { - label = "tWAZn" - type = Type.WORK - value_ = "qaczwFdzHL@okMZPmjwqTJ.com" - } - ] - name = Name { - familyName = "wSQuECQWuuuEFC" - givenName = "iJZOYWfDTgpIJq" - } - number = [ - Phone { - label = "" - type = Type.MOBILE - value_ = "19325550110" - }, - Phone { - label = "qmCdYWyYPnka" + label = "KGTWpTUETYz" type = Type.WORK - value_ = "447700900133" + value_ = "447700900571" } ] - organization = "pKBuwAHesX" + organization = "CsyUnSuQFB" } ] } - dateSent = 1680366577838 + dateSent = 1688484601889 outgoing = OutgoingMessageDetails { sendStatus = [ SendStatus { diff --git a/test-cases/chat_item_contact_message_08.binproto b/test-cases/chat_item_contact_message_08.binproto index 399d490..d0f7ee2 100644 Binary files a/test-cases/chat_item_contact_message_08.binproto and b/test-cases/chat_item_contact_message_08.binproto differ diff --git a/test-cases/chat_item_contact_message_08.txtproto b/test-cases/chat_item_contact_message_08.txtproto index 54ef117..55897c1 100644 --- a/test-cases/chat_item_contact_message_08.txtproto +++ b/test-cases/chat_item_contact_message_08.txtproto @@ -119,32 +119,65 @@ Frame { contactMessage = ContactMessage { contact = [ ContactAttachment { - avatar = FilePointer { - backupLocator = BackupLocator { - cdnNumber = 3 - digest = <14d067b00a9b72659c04a5715eff403d> - key = <8eb83f1ec7d6521b7624aafb8f19d75e> - mediaName = "14d067b00a9b72659c04a5715eff403d" - size = 2122135182 - transitCdnKey = "ISQpKbdZI" - transitCdnNumber = 2 + address = [ + PostalAddress { + city = "cgnvkuuYU" + country = "jrfsmPFkkXPf" + label = "xnqeB" + neighborhood = "yYPnDcOB" + pobox = "FzSlNk" + postcode = "GtbGdLaxUF" + region = "aeMuBzXfTMvHb" + type = Type.HOME + }, + PostalAddress { + pobox = "FzSlNk" + type = Type.HOME } - blurHash = "LGG*f,-i.l-o?G$~?Zt7pHN1=tE3" - caption = "YOffzkwP" - contentType = "image/gif" - fileName = "eyxBcYxd" - height = 2696 - width = 895 + ] + avatar = FilePointer { + blurHash = "LfLh6Voa9NIW?wNF-ooL-;WAX8oy" + contentType = "image/png" + fileName = "wPOZvhLDS" + height = 3033 + incrementalMac = <591eeb9b35c876bc7f5b1be8870f7902> + incrementalMacChunkSize = 2048 + invalidAttachmentLocator = InvalidAttachmentLocator {} + width = 267 } + email = [ + Email { + label = "KhylALWHDDLpj" + type = Type.CUSTOM + value_ = "OymkbGZomPlLHy@LGdFwzenIne.org" + }, + Email { + type = Type.HOME + value_ = "xHDjKnB@pjPVt.com" + } + ] name = Name { - familyName = "CqQNEWGrAzrHY" - givenName = "SkLQGER" + familyName = "wSQuECQWuuuEFC" + givenName = "iJZOYWfDTgpIJq" + middleName = "FXMOBqmCd" + prefix = "IBHCZ" + suffix = "nSfTgFokLHLmtL" } - organization = "yyKbzaMMpNLPKQ" + number = [ + Phone { + label = "CvxAOiiqzDNPnb" + type = Type.CUSTOM + value_ = "447700900496" + }, + Phone { + type = Type.HOME + value_ = "447700900571" + } + ] } ] } - dateSent = 1688484601889 + dateSent = 1680366577838 outgoing = OutgoingMessageDetails { sendStatus = [ SendStatus { diff --git a/test-cases/chat_item_contact_message_09.binproto b/test-cases/chat_item_contact_message_09.binproto index 444a9d8..60171cb 100644 Binary files a/test-cases/chat_item_contact_message_09.binproto and b/test-cases/chat_item_contact_message_09.binproto differ diff --git a/test-cases/chat_item_contact_message_09.txtproto b/test-cases/chat_item_contact_message_09.txtproto index d7b4881..d88ba34 100644 --- a/test-cases/chat_item_contact_message_09.txtproto +++ b/test-cases/chat_item_contact_message_09.txtproto @@ -119,112 +119,17 @@ Frame { contactMessage = ContactMessage { contact = [ ContactAttachment { - address = [ - PostalAddress { - city = "xnqeB" - country = "aeMuBzXfTMvHb" - label = "jjbudVyDygx" - neighborhood = "ldxrj" - pobox = "unEEaAnFRLrvz" - postcode = "cgnvkuuYU" - region = "yYPnDcOB" - street = "UUiitmkHLv" - type = Type.HOME - } - ] - avatar = FilePointer { - backupLocator = BackupLocator { - digest = <77380521362db73801df7d496ce0af3a> - key = - mediaName = "77380521362db73801df7d496ce0af3a" - size = 1465688382 - } - caption = "ZvhLDSCjVGP" - contentType = "audio/mp3" - height = 1505 - incrementalMac = <0891e5f69b302a9bf97a7ea0e423fd11> - incrementalMacChunkSize = 2048 - width = 925 - } - email = [ - Email { - label = "GxHDjKnBipjP" - type = Type.CUSTOM - value_ = "PMVYoUEqXx@DXOZYcESWutf.org" - } - ] name = Name { familyName = "wSQuECQWuuuEFC" givenName = "iJZOYWfDTgpIJq" + middleName = "FXMOBqmCd" + prefix = "IBHCZ" + suffix = "nSfTgFokLHLmtL" } - number = [ - Phone { - label = "IBHCZ" - type = Type.CUSTOM - value_ = "19325550110" - } - ] - }, - ContactAttachment { - address = [ - PostalAddress { - city = "nZhuXJWXD" - street = "hyZCTrFaZqB" - type = Type.HOME - }, - PostalAddress { - city = "xnqeB" - country = "" - label = "" - neighborhood = "" - pobox = "" - postcode = "" - region = "" - street = "UUiitmkHLv" - type = Type.WORK - } - ] - avatar = FilePointer { - attachmentLocator = AttachmentLocator { - cdnKey = "DpVLDtDu" - digest = - key = - size = 827594331 - } - blurHash = "LJR,66e.~Cxu%LoLM|S2%3WWIosm" - contentType = "video/mp4" - fileName = "TwOar" - } - email = [ - Email { - type = Type.HOME - value_ = "qaczwFdzHL@okMZPmjwqTJ.com" - }, - Email { - label = "" - type = Type.MOBILE - value_ = "PMVYoUEqXx@DXOZYcESWutf.org" - } - ] - name = Name { - familyName = "CqQNEWGrAzrHY" - givenName = "SkLQGER" - } - number = [ - Phone { - type = Type.HOME - value_ = "447700900133" - }, - Phone { - label = "" - type = Type.MOBILE - value_ = "19325550110" - } - ] - organization = "" } ] } + dateSent = 1688484601889 outgoing = OutgoingMessageDetails { sendStatus = [ SendStatus { diff --git a/test-cases/chat_item_contact_message_10.binproto b/test-cases/chat_item_contact_message_10.binproto index e6a8622..54a9da1 100644 Binary files a/test-cases/chat_item_contact_message_10.binproto and b/test-cases/chat_item_contact_message_10.binproto differ diff --git a/test-cases/chat_item_contact_message_10.txtproto b/test-cases/chat_item_contact_message_10.txtproto index 54ab0e4..1b01f1f 100644 --- a/test-cases/chat_item_contact_message_10.txtproto +++ b/test-cases/chat_item_contact_message_10.txtproto @@ -119,29 +119,41 @@ Frame { contactMessage = ContactMessage { contact = [ ContactAttachment { + address = [ + PostalAddress { + pobox = "FzSlNk" + type = Type.HOME + } + ] avatar = FilePointer { - attachmentLocator = AttachmentLocator { - cdnKey = "RIdlg" - cdnNumber = 2 - digest = <593932b06551b2e2890f59e14a0cef78> - key = <6d8b5d468bdd8b16ebceb4fa96febac7> - size = 1235219109 - uploadTimestamp = 1815031729274 + backupLocator = BackupLocator { + digest = <245052a930af623c6f503cf7bbfd9a0d> + key = <1c3701139655d30267e5ccd3ede8adb0> + mediaName = "245052a930af623c6f503cf7bbfd9a0d" + size = 1120972837 } - blurHash = "LIM:}RB8?-^L.d4]O.nkK_ruI?od" - caption = "" contentType = "image/jpeg" - fileName = "eyxBcYxd" - height = 462 - incrementalMac = <0891e5f69b302a9bf97a7ea0e423fd11> - incrementalMacChunkSize = 2048 - width = 2972 } + email = [ + Email { + type = Type.HOME + value_ = "xHDjKnB@pjPVt.com" + } + ] name = Name { - familyName = "wSQuECQWuuuEFC" - givenName = "iJZOYWfDTgpIJq" + familyName = "CqQNEWGrAzrHY" + givenName = "SkLQGER" + middleName = "WyYPnka" + prefix = "OtEhcCMeej" + suffix = "dKPNuFXypj" } - organization = "pKBuwAHesX" + number = [ + Phone { + type = Type.HOME + value_ = "447700900571" + } + ] + organization = "" } ] } diff --git a/test-cases/chat_item_contact_message_11.binproto b/test-cases/chat_item_contact_message_11.binproto index 9eaa5ce..bb7ec0c 100644 Binary files a/test-cases/chat_item_contact_message_11.binproto and b/test-cases/chat_item_contact_message_11.binproto differ diff --git a/test-cases/chat_item_contact_message_11.txtproto b/test-cases/chat_item_contact_message_11.txtproto index 31b12c3..2d7b75a 100644 --- a/test-cases/chat_item_contact_message_11.txtproto +++ b/test-cases/chat_item_contact_message_11.txtproto @@ -121,107 +121,76 @@ Frame { ContactAttachment { address = [ PostalAddress { - city = "nZhuXJWXD" - country = "fCpzjVLQFQh" - label = "tAKtPVXV" - neighborhood = "FzSlNk" - pobox = "jrJToWuNQzhOBq" - postcode = "YQcczeJZd" - region = "rOHZwwEoKI" - street = "hyZCTrFaZqB" - type = Type.CUSTOM - } - ] - avatar = FilePointer { - attachmentLocator = AttachmentLocator { - cdnKey = "DpVLDtDu" - cdnNumber = 3 - digest = - key = <6570c694db1bb6ddd81bfc351add5a15> - size = 1171631170 - uploadTimestamp = 1794847194749 - } - caption = "YOffzkwP" - contentType = "image/png" - height = 2696 - width = 895 - } - email = [ - Email { - label = "tWAZn" + city = "" + country = "" + label = "" + neighborhood = "" + postcode = "" + region = "" + street = "jrJToWuNQzhOBq" type = Type.WORK - value_ = "qaczwFdzHL@okMZPmjwqTJ.com" - } - ] - name = Name { - familyName = "CqQNEWGrAzrHY" - givenName = "SkLQGER" - } - number = [ - Phone { - label = "qmCdYWyYPnka" - type = Type.WORK - value_ = "447700900133" - } - ] - organization = "yyKbzaMMpNLPKQ" - }, - ContactAttachment { - address = [ - PostalAddress { - city = "xnqeB" - country = "aeMuBzXfTMvHb" - label = "jjbudVyDygx" - neighborhood = "ldxrj" - pobox = "unEEaAnFRLrvz" - postcode = "cgnvkuuYU" - region = "yYPnDcOB" - street = "UUiitmkHLv" - type = Type.HOME }, PostalAddress { - city = "nZhuXJWXD" - street = "hyZCTrFaZqB" - type = Type.HOME + city = "YQcczeJZd" + country = "fnyqwIJn" + label = "nZhuXJWXD" + neighborhood = "rOHZwwEoKI" + pobox = "ldxrj" + postcode = "bdigdRgXvkkw" + region = "fCpzjVLQFQh" + street = "unEEaAnFRLrvz" + type = Type.CUSTOM } ] avatar = FilePointer { + backupLocator = BackupLocator { + cdnNumber = 2 + digest = <8eb83f1ec7d6521b7624aafb8f19d75e> + key = <842db2adbe12faf29a852ad28dafc528> + mediaName = "8eb83f1ec7d6521b7624aafb8f19d75e" + size = 1518066505 + transitCdnKey = "QSFzJCDXD" + } blurHash = "LfLh6Voa9NIW?wNF-ooL-;WAX8oy" - caption = "ZvhLDSCjVGP" - contentType = "image/gif" - fileName = "TwOar" - height = 1505 - incrementalMac = <0891e5f69b302a9bf97a7ea0e423fd11> + contentType = "image/png" + fileName = "wPOZvhLDS" + height = 4021 + incrementalMac = <591eeb9b35c876bc7f5b1be8870f7902> incrementalMacChunkSize = 2048 - invalidAttachmentLocator = InvalidAttachmentLocator {} - width = 925 + width = 2502 } email = [ Email { - label = "GxHDjKnBipjP" - type = Type.CUSTOM - value_ = "PMVYoUEqXx@DXOZYcESWutf.org" + label = "" + type = Type.MOBILE + value_ = "OymkbGZomPlLHy@LGdFwzenIne.org" }, Email { - type = Type.HOME - value_ = "qaczwFdzHL@okMZPmjwqTJ.com" + label = "VzsXSlnJDCHS" + type = Type.WORK + value_ = "xHDjKnB@pjPVt.com" } ] name = Name { familyName = "wSQuECQWuuuEFC" givenName = "iJZOYWfDTgpIJq" + middleName = "FXMOBqmCd" + prefix = "IBHCZ" + suffix = "nSfTgFokLHLmtL" } number = [ Phone { - label = "IBHCZ" - type = Type.CUSTOM - value_ = "19325550110" + label = "" + type = Type.MOBILE + value_ = "447700900496" }, Phone { - type = Type.HOME - value_ = "447700900133" + label = "KGTWpTUETYz" + type = Type.WORK + value_ = "447700900571" } ] + organization = "AUJhqwqw" } ] } diff --git a/test-cases/chat_item_contact_message_12.binproto b/test-cases/chat_item_contact_message_12.binproto index 9a80386..94f646c 100644 Binary files a/test-cases/chat_item_contact_message_12.binproto and b/test-cases/chat_item_contact_message_12.binproto differ diff --git a/test-cases/chat_item_contact_message_12.txtproto b/test-cases/chat_item_contact_message_12.txtproto index c4dac2e..bf3799c 100644 --- a/test-cases/chat_item_contact_message_12.txtproto +++ b/test-cases/chat_item_contact_message_12.txtproto @@ -119,13 +119,34 @@ Frame { contactMessage = ContactMessage { contact = [ ContactAttachment { + avatar = FilePointer { + backupLocator = BackupLocator { + cdnNumber = 3 + digest = <8e0d273ad3cc7d8c285504cdf1b52578> + key = <362db73801df7d496ce0af3aa0005822> + mediaName = "8e0d273ad3cc7d8c285504cdf1b52578" + size = 1732766388 + transitCdnKey = "XDYLorFptC" + transitCdnNumber = 2 + } + blurHash = "LGG*f,-i.l-o?G$~?Zt7pHN1=tE3" + contentType = "image/jpeg" + fileName = "jVGPMBX" + height = 485 + width = 3317 + } name = Name { - familyName = "wSQuECQWuuuEFC" - givenName = "iJZOYWfDTgpIJq" + familyName = "CqQNEWGrAzrHY" + givenName = "SkLQGER" + middleName = "WyYPnka" + prefix = "OtEhcCMeej" + suffix = "dKPNuFXypj" } + organization = "CsyUnSuQFB" } ] } + dateSent = 1680366577838 outgoing = OutgoingMessageDetails { sendStatus = [ SendStatus { diff --git a/test-cases/chat_item_contact_message_13.binproto b/test-cases/chat_item_contact_message_13.binproto index db450bf..3689d6d 100644 Binary files a/test-cases/chat_item_contact_message_13.binproto and b/test-cases/chat_item_contact_message_13.binproto differ diff --git a/test-cases/chat_item_contact_message_13.txtproto b/test-cases/chat_item_contact_message_13.txtproto index 12c7e66..a4fdc77 100644 --- a/test-cases/chat_item_contact_message_13.txtproto +++ b/test-cases/chat_item_contact_message_13.txtproto @@ -121,114 +121,55 @@ Frame { ContactAttachment { address = [ PostalAddress { - city = "nZhuXJWXD" - street = "hyZCTrFaZqB" + city = "cgnvkuuYU" + country = "jrfsmPFkkXPf" + label = "xnqeB" + neighborhood = "yYPnDcOB" + pobox = "FzSlNk" + postcode = "GtbGdLaxUF" + region = "aeMuBzXfTMvHb" type = Type.HOME } ] avatar = FilePointer { backupLocator = BackupLocator { - digest = <6b61c36c807559220985f14b0252e833> - key = <8d3cda32685e0086546218a42159dc48> - mediaName = "6b61c36c807559220985f14b0252e833" - size = 1465688382 + digest = <178cfdca85d0ff83fb34c8dfda308b20> + key = <89a2fe07a6d23413b67218cbbbd8a380> + mediaName = "178cfdca85d0ff83fb34c8dfda308b20" + size = 1120972837 } - contentType = "image/jpeg" - } - email = [ - Email { - type = Type.HOME - value_ = "qaczwFdzHL@okMZPmjwqTJ.com" - } - ] - name = Name { - familyName = "CqQNEWGrAzrHY" - givenName = "SkLQGER" - } - number = [ - Phone { - type = Type.HOME - value_ = "447700900133" - } - ] - organization = "" - }, - ContactAttachment { - address = [ - PostalAddress { - city = "xnqeB" - country = "" - label = "" - neighborhood = "" - pobox = "" - postcode = "" - region = "" - street = "UUiitmkHLv" - type = Type.WORK - }, - PostalAddress { - city = "nZhuXJWXD" - country = "fCpzjVLQFQh" - label = "tAKtPVXV" - neighborhood = "FzSlNk" - pobox = "jrJToWuNQzhOBq" - postcode = "YQcczeJZd" - region = "rOHZwwEoKI" - street = "hyZCTrFaZqB" - type = Type.CUSTOM - } - ] - avatar = FilePointer { - backupLocator = BackupLocator { - cdnNumber = 2 - digest = <85e08d21245052a930af623c6f503cf7> - key = - mediaName = "85e08d21245052a930af623c6f503cf7" - size = 658677648 - transitCdnKey = "NeUzkxb" - } - blurHash = "LfLh6Voa9NIW?wNF-ooL-;WAX8oy" - caption = "" + blurHash = "LdIOX?NE9Y4T~pRPRjE1X9f5jrt6" contentType = "image/png" - fileName = "TwOar" - height = 462 - incrementalMac = <0891e5f69b302a9bf97a7ea0e423fd11> + height = 3033 + incrementalMac = <591eeb9b35c876bc7f5b1be8870f7902> incrementalMacChunkSize = 2048 - width = 2972 + width = 267 } email = [ Email { - label = "" - type = Type.MOBILE - value_ = "PMVYoUEqXx@DXOZYcESWutf.org" - }, - Email { - label = "tWAZn" - type = Type.WORK - value_ = "qaczwFdzHL@okMZPmjwqTJ.com" + label = "KhylALWHDDLpj" + type = Type.CUSTOM + value_ = "OymkbGZomPlLHy@LGdFwzenIne.org" } ] name = Name { familyName = "wSQuECQWuuuEFC" givenName = "iJZOYWfDTgpIJq" + middleName = "FXMOBqmCd" + prefix = "IBHCZ" + suffix = "nSfTgFokLHLmtL" } number = [ Phone { - label = "" - type = Type.MOBILE - value_ = "19325550110" - }, - Phone { - label = "qmCdYWyYPnka" - type = Type.WORK - value_ = "447700900133" + label = "CvxAOiiqzDNPnb" + type = Type.CUSTOM + value_ = "447700900496" } ] - organization = "pKBuwAHesX" } ] } - dateSent = 1680366577838 + dateSent = 1688484601889 outgoing = OutgoingMessageDetails { sendStatus = [ SendStatus { diff --git a/test-cases/chat_item_contact_message_14.binproto b/test-cases/chat_item_contact_message_14.binproto index 956b0ca..96b32c3 100644 Binary files a/test-cases/chat_item_contact_message_14.binproto and b/test-cases/chat_item_contact_message_14.binproto differ diff --git a/test-cases/chat_item_contact_message_14.txtproto b/test-cases/chat_item_contact_message_14.txtproto index 17cfb2b..9c9828d 100644 --- a/test-cases/chat_item_contact_message_14.txtproto +++ b/test-cases/chat_item_contact_message_14.txtproto @@ -119,32 +119,67 @@ Frame { contactMessage = ContactMessage { contact = [ ContactAttachment { + address = [ + PostalAddress { + pobox = "FzSlNk" + type = Type.HOME + }, + PostalAddress { + city = "" + country = "" + label = "" + neighborhood = "" + postcode = "" + region = "" + street = "jrJToWuNQzhOBq" + type = Type.WORK + } + ] avatar = FilePointer { - backupLocator = BackupLocator { - cdnNumber = 3 - digest = <14d067b00a9b72659c04a5715eff403d> - key = <8eb83f1ec7d6521b7624aafb8f19d75e> - mediaName = "14d067b00a9b72659c04a5715eff403d" - size = 2122135182 - transitCdnKey = "ISQpKbdZI" - transitCdnNumber = 2 + attachmentLocator = AttachmentLocator { + cdnKey = "fhiGYdtFepxf" + digest = + key = <7698f67aa2b531de63dce70e8cb7639e> + size = 1675460427 } - blurHash = "LGG*f,-i.l-o?G$~?Zt7pHN1=tE3" - caption = "YOffzkwP" - contentType = "image/gif" - fileName = "eyxBcYxd" - height = 2696 - width = 895 + blurHash = "LJR,66e.~Cxu%LoLM|S2%3WWIosm" + contentType = "image/jpeg" + fileName = "wPOZvhLDS" } + email = [ + Email { + type = Type.HOME + value_ = "xHDjKnB@pjPVt.com" + }, + Email { + label = "" + type = Type.MOBILE + value_ = "OymkbGZomPlLHy@LGdFwzenIne.org" + } + ] name = Name { familyName = "CqQNEWGrAzrHY" givenName = "SkLQGER" + middleName = "WyYPnka" + prefix = "OtEhcCMeej" + suffix = "dKPNuFXypj" } - organization = "yyKbzaMMpNLPKQ" + number = [ + Phone { + type = Type.HOME + value_ = "447700900571" + }, + Phone { + label = "" + type = Type.MOBILE + value_ = "447700900496" + } + ] + organization = "" } ] } - dateSent = 1688484601889 + dateSent = 1680366577838 outgoing = OutgoingMessageDetails { sendStatus = [ SendStatus { diff --git a/test-cases/chat_item_expiration_timer_update_00.binproto b/test-cases/chat_item_expiration_timer_update_00.binproto index 1dbd021..8d2b028 100644 Binary files a/test-cases/chat_item_expiration_timer_update_00.binproto and b/test-cases/chat_item_expiration_timer_update_00.binproto differ diff --git a/test-cases/chat_item_expiration_timer_update_00.txtproto b/test-cases/chat_item_expiration_timer_update_00.txtproto index 007e4af..f958f0f 100644 --- a/test-cases/chat_item_expiration_timer_update_00.txtproto +++ b/test-cases/chat_item_expiration_timer_update_00.txtproto @@ -116,6 +116,7 @@ Frame { chatItem = ChatItem { authorId = 1 chatId = 2 + dateSent = 1833527071192 directionless = DirectionlessMessageDetails {} updateMessage = ChatUpdateMessage { expirationTimerChange = ExpirationTimerChatUpdate {} diff --git a/test-cases/chat_item_expiration_timer_update_01.binproto b/test-cases/chat_item_expiration_timer_update_01.binproto index 18040e5..9f760ce 100644 Binary files a/test-cases/chat_item_expiration_timer_update_01.binproto and b/test-cases/chat_item_expiration_timer_update_01.binproto differ diff --git a/test-cases/chat_item_expiration_timer_update_01.txtproto b/test-cases/chat_item_expiration_timer_update_01.txtproto index fb96f92..2a9a27a 100644 --- a/test-cases/chat_item_expiration_timer_update_01.txtproto +++ b/test-cases/chat_item_expiration_timer_update_01.txtproto @@ -116,7 +116,7 @@ Frame { chatItem = ChatItem { authorId = 4 chatId = 2 - dateSent = 1833527071192 + dateSent = 1695248715439 directionless = DirectionlessMessageDetails {} updateMessage = ChatUpdateMessage { expirationTimerChange = ExpirationTimerChatUpdate { diff --git a/test-cases/chat_item_expiration_timer_update_02.binproto b/test-cases/chat_item_expiration_timer_update_02.binproto index b639972..9f87d8e 100644 Binary files a/test-cases/chat_item_expiration_timer_update_02.binproto and b/test-cases/chat_item_expiration_timer_update_02.binproto differ diff --git a/test-cases/chat_item_expiration_timer_update_02.txtproto b/test-cases/chat_item_expiration_timer_update_02.txtproto index 4f72ee0..aac01e1 100644 --- a/test-cases/chat_item_expiration_timer_update_02.txtproto +++ b/test-cases/chat_item_expiration_timer_update_02.txtproto @@ -116,7 +116,7 @@ Frame { chatItem = ChatItem { authorId = 1 chatId = 2 - dateSent = 1695248715439 + dateSent = 1833527071192 directionless = DirectionlessMessageDetails {} updateMessage = ChatUpdateMessage { expirationTimerChange = ExpirationTimerChatUpdate { diff --git a/test-cases/chat_item_profile_change_update_00.binproto b/test-cases/chat_item_profile_change_update_00.binproto index 1210829..65402ac 100644 Binary files a/test-cases/chat_item_profile_change_update_00.binproto and b/test-cases/chat_item_profile_change_update_00.binproto differ diff --git a/test-cases/chat_item_profile_change_update_00.txtproto b/test-cases/chat_item_profile_change_update_00.txtproto index 44f6987..237a439 100644 --- a/test-cases/chat_item_profile_change_update_00.txtproto +++ b/test-cases/chat_item_profile_change_update_00.txtproto @@ -116,6 +116,7 @@ Frame { chatItem = ChatItem { authorId = 4 chatId = 2 + dateSent = 1833527071192 directionless = DirectionlessMessageDetails {} updateMessage = ChatUpdateMessage { profileChange = ProfileChangeChatUpdate { diff --git a/test-cases/chat_item_profile_change_update_01.binproto b/test-cases/chat_item_profile_change_update_01.binproto index 288616c..17fb968 100644 Binary files a/test-cases/chat_item_profile_change_update_01.binproto and b/test-cases/chat_item_profile_change_update_01.binproto differ diff --git a/test-cases/chat_item_profile_change_update_01.txtproto b/test-cases/chat_item_profile_change_update_01.txtproto index 10eb71a..b1ae50a 100644 --- a/test-cases/chat_item_profile_change_update_01.txtproto +++ b/test-cases/chat_item_profile_change_update_01.txtproto @@ -116,7 +116,7 @@ Frame { chatItem = ChatItem { authorId = 4 chatId = 2 - dateSent = 1833527071192 + dateSent = 1695248715439 directionless = DirectionlessMessageDetails {} updateMessage = ChatUpdateMessage { profileChange = ProfileChangeChatUpdate { diff --git a/test-cases/chat_item_profile_change_update_02.binproto b/test-cases/chat_item_profile_change_update_02.binproto deleted file mode 100644 index 6b89a12..0000000 Binary files a/test-cases/chat_item_profile_change_update_02.binproto and /dev/null differ diff --git a/test-cases/chat_item_profile_change_update_02.txtproto b/test-cases/chat_item_profile_change_update_02.txtproto deleted file mode 100644 index 47ba798..0000000 --- a/test-cases/chat_item_profile_change_update_02.txtproto +++ /dev/null @@ -1,128 +0,0 @@ -// This file was auto-generated! It's only meant to show you what's in the .binproto. Do not edit! - -BackupInfo { - backupTimeMs = 1715636551000 - version = 1 -} - -Frame { - account = AccountData { - accountSettings = AccountSettings { - customChatColors = [ - CustomChatColor { - id = 1 - solid = -16777216 - }, - CustomChatColor { - id = 2 - solid = -65536 - }, - CustomChatColor { - id = 3 - solid = -16711936 - } - ] - displayBadgesOnProfile = true - hasCompletedUsernameOnboarding = true - hasSeenGroupStoryEducationSheet = true - hasSetMyStoriesPrivacy = true - hasViewedOnboardingStory = true - keepMutedChatsArchived = true - linkPreviews = true - notDiscoverableByPhoneNumber = true - phoneNumberSharingMode = PhoneNumberSharingMode.NOBODY - preferContactAvatars = true - preferredReactionEmoji = [ - "a", - "b", - "c" - ] - readReceipts = true - sealedSenderIndicators = true - storiesDisabled = true - storyViewReceiptsEnabled = true - typingIndicators = true - universalExpireTimerSeconds = 3600 - } - avatarUrlPath = "" - donationSubscriberData = SubscriberData { - currencyCode = "USD" - manuallyCancelled = true - subscriberId = - } - familyName = "Fett" - givenName = "Boba" - profileKey = <610291abedc34249489da39a31c9a5cd99cdd26ff58732e268e357ee0075d9d8> - username = "boba_fett.66" - usernameLink = UsernameLink { - color = Color.OLIVE - entropy = <65675c73d00eb01005e3bb7c4a47f296cb6554f78981238815e915d824fd2e93> - serverId = <61c101a200d5421789c20518d8497af0> - } - } -} - -Frame { - recipient = Recipient { - id = 1 - self = Self {} - } -} - -Frame { - recipient = Recipient { - id = 2 - releaseNotes = ReleaseNotes {} - } -} - -Frame { - recipient = Recipient { - distributionList = DistributionListItem { - distributionId = <00000000000000000000000000000000> - distributionList = DistributionList { - name = "My Story" - privacyMode = PrivacyMode.ALL - } - } - id = 3 - } -} - -Frame { - recipient = Recipient { - contact = Contact { - aci = <00000000000000000000000000000001> - e164 = 16105550101 - pni = <00000000000000000000000000000002> - profileFamilyName = "Smith" - profileGivenName = "Alice" - profileKey = <0000000000000000000000000000000000000000000000000000000000000000> - registered = Registered {} - visibility = Visibility.VISIBLE - } - id = 4 - } -} - -Frame { - chat = Chat { - id = 2 - recipientId = 4 - } -} - -Frame { - chatItem = ChatItem { - authorId = 4 - chatId = 2 - dateSent = 1695248715439 - directionless = DirectionlessMessageDetails {} - updateMessage = ChatUpdateMessage { - profileChange = ProfileChangeChatUpdate { - newName = "sXBkoG" - previousName = "XtfWbog" - } - } - } -} \ No newline at end of file diff --git a/test-cases/chat_item_session_switchover_update_00.binproto b/test-cases/chat_item_session_switchover_update_00.binproto index 0ce58f1..c483b75 100644 Binary files a/test-cases/chat_item_session_switchover_update_00.binproto and b/test-cases/chat_item_session_switchover_update_00.binproto differ diff --git a/test-cases/chat_item_session_switchover_update_00.txtproto b/test-cases/chat_item_session_switchover_update_00.txtproto index 948a46e..e2d1c61 100644 --- a/test-cases/chat_item_session_switchover_update_00.txtproto +++ b/test-cases/chat_item_session_switchover_update_00.txtproto @@ -116,6 +116,7 @@ Frame { chatItem = ChatItem { authorId = 4 chatId = 2 + dateSent = 1833527071192 directionless = DirectionlessMessageDetails {} updateMessage = ChatUpdateMessage { sessionSwitchover = SessionSwitchoverChatUpdate { diff --git a/test-cases/chat_item_session_switchover_update_01.binproto b/test-cases/chat_item_session_switchover_update_01.binproto index 06238bb..6536bc3 100644 Binary files a/test-cases/chat_item_session_switchover_update_01.binproto and b/test-cases/chat_item_session_switchover_update_01.binproto differ diff --git a/test-cases/chat_item_session_switchover_update_01.txtproto b/test-cases/chat_item_session_switchover_update_01.txtproto index e926ccb..12ed67e 100644 --- a/test-cases/chat_item_session_switchover_update_01.txtproto +++ b/test-cases/chat_item_session_switchover_update_01.txtproto @@ -116,7 +116,7 @@ Frame { chatItem = ChatItem { authorId = 4 chatId = 2 - dateSent = 1833527071192 + dateSent = 1695248715439 directionless = DirectionlessMessageDetails {} updateMessage = ChatUpdateMessage { sessionSwitchover = SessionSwitchoverChatUpdate { diff --git a/test-cases/chat_item_session_switchover_update_02.binproto b/test-cases/chat_item_session_switchover_update_02.binproto deleted file mode 100644 index 2c3092e..0000000 Binary files a/test-cases/chat_item_session_switchover_update_02.binproto and /dev/null differ diff --git a/test-cases/chat_item_session_switchover_update_02.txtproto b/test-cases/chat_item_session_switchover_update_02.txtproto deleted file mode 100644 index c604dc1..0000000 --- a/test-cases/chat_item_session_switchover_update_02.txtproto +++ /dev/null @@ -1,127 +0,0 @@ -// This file was auto-generated! It's only meant to show you what's in the .binproto. Do not edit! - -BackupInfo { - backupTimeMs = 1715636551000 - version = 1 -} - -Frame { - account = AccountData { - accountSettings = AccountSettings { - customChatColors = [ - CustomChatColor { - id = 1 - solid = -16777216 - }, - CustomChatColor { - id = 2 - solid = -65536 - }, - CustomChatColor { - id = 3 - solid = -16711936 - } - ] - displayBadgesOnProfile = true - hasCompletedUsernameOnboarding = true - hasSeenGroupStoryEducationSheet = true - hasSetMyStoriesPrivacy = true - hasViewedOnboardingStory = true - keepMutedChatsArchived = true - linkPreviews = true - notDiscoverableByPhoneNumber = true - phoneNumberSharingMode = PhoneNumberSharingMode.NOBODY - preferContactAvatars = true - preferredReactionEmoji = [ - "a", - "b", - "c" - ] - readReceipts = true - sealedSenderIndicators = true - storiesDisabled = true - storyViewReceiptsEnabled = true - typingIndicators = true - universalExpireTimerSeconds = 3600 - } - avatarUrlPath = "" - donationSubscriberData = SubscriberData { - currencyCode = "USD" - manuallyCancelled = true - subscriberId = - } - familyName = "Fett" - givenName = "Boba" - profileKey = <610291abedc34249489da39a31c9a5cd99cdd26ff58732e268e357ee0075d9d8> - username = "boba_fett.66" - usernameLink = UsernameLink { - color = Color.OLIVE - entropy = <65675c73d00eb01005e3bb7c4a47f296cb6554f78981238815e915d824fd2e93> - serverId = <61c101a200d5421789c20518d8497af0> - } - } -} - -Frame { - recipient = Recipient { - id = 1 - self = Self {} - } -} - -Frame { - recipient = Recipient { - id = 2 - releaseNotes = ReleaseNotes {} - } -} - -Frame { - recipient = Recipient { - distributionList = DistributionListItem { - distributionId = <00000000000000000000000000000000> - distributionList = DistributionList { - name = "My Story" - privacyMode = PrivacyMode.ALL - } - } - id = 3 - } -} - -Frame { - recipient = Recipient { - contact = Contact { - aci = <00000000000000000000000000000001> - e164 = 16105550101 - pni = <00000000000000000000000000000002> - profileFamilyName = "Smith" - profileGivenName = "Alice" - profileKey = <0000000000000000000000000000000000000000000000000000000000000000> - registered = Registered {} - visibility = Visibility.VISIBLE - } - id = 4 - } -} - -Frame { - chat = Chat { - id = 2 - recipientId = 4 - } -} - -Frame { - chatItem = ChatItem { - authorId = 4 - chatId = 2 - dateSent = 1695248715439 - directionless = DirectionlessMessageDetails {} - updateMessage = ChatUpdateMessage { - sessionSwitchover = SessionSwitchoverChatUpdate { - e164 = 18075550161 - } - } - } -} \ No newline at end of file diff --git a/test-cases/chat_item_simple_updates_00.binproto b/test-cases/chat_item_simple_updates_00.binproto index 77a1cb0..de27e14 100644 Binary files a/test-cases/chat_item_simple_updates_00.binproto and b/test-cases/chat_item_simple_updates_00.binproto differ diff --git a/test-cases/chat_item_simple_updates_00.txtproto b/test-cases/chat_item_simple_updates_00.txtproto index fff57e2..d779ce1 100644 --- a/test-cases/chat_item_simple_updates_00.txtproto +++ b/test-cases/chat_item_simple_updates_00.txtproto @@ -116,6 +116,7 @@ Frame { chatItem = ChatItem { authorId = 4 chatId = 2 + dateSent = 1833527071192 directionless = DirectionlessMessageDetails {} updateMessage = ChatUpdateMessage { simpleUpdate = SimpleChatUpdate { diff --git a/test-cases/chat_item_simple_updates_01.binproto b/test-cases/chat_item_simple_updates_01.binproto index 57e0c65..5e52307 100644 Binary files a/test-cases/chat_item_simple_updates_01.binproto and b/test-cases/chat_item_simple_updates_01.binproto differ diff --git a/test-cases/chat_item_simple_updates_01.txtproto b/test-cases/chat_item_simple_updates_01.txtproto index 0f95bc1..43b0ee8 100644 --- a/test-cases/chat_item_simple_updates_01.txtproto +++ b/test-cases/chat_item_simple_updates_01.txtproto @@ -116,7 +116,7 @@ Frame { chatItem = ChatItem { authorId = 4 chatId = 2 - dateSent = 1833527071192 + dateSent = 1695248715439 directionless = DirectionlessMessageDetails {} updateMessage = ChatUpdateMessage { simpleUpdate = SimpleChatUpdate { diff --git a/test-cases/chat_item_simple_updates_02.binproto b/test-cases/chat_item_simple_updates_02.binproto index 47bbe71..dca215b 100644 Binary files a/test-cases/chat_item_simple_updates_02.binproto and b/test-cases/chat_item_simple_updates_02.binproto differ diff --git a/test-cases/chat_item_simple_updates_02.txtproto b/test-cases/chat_item_simple_updates_02.txtproto index 3031c2e..4264723 100644 --- a/test-cases/chat_item_simple_updates_02.txtproto +++ b/test-cases/chat_item_simple_updates_02.txtproto @@ -116,7 +116,7 @@ Frame { chatItem = ChatItem { authorId = 4 chatId = 2 - dateSent = 1695248715439 + dateSent = 1833527071192 directionless = DirectionlessMessageDetails {} updateMessage = ChatUpdateMessage { simpleUpdate = SimpleChatUpdate { diff --git a/test-cases/chat_item_simple_updates_03.binproto b/test-cases/chat_item_simple_updates_03.binproto index ba328d4..c920faa 100644 Binary files a/test-cases/chat_item_simple_updates_03.binproto and b/test-cases/chat_item_simple_updates_03.binproto differ diff --git a/test-cases/chat_item_simple_updates_03.txtproto b/test-cases/chat_item_simple_updates_03.txtproto index 4562cca..2dc23fe 100644 --- a/test-cases/chat_item_simple_updates_03.txtproto +++ b/test-cases/chat_item_simple_updates_03.txtproto @@ -116,6 +116,7 @@ Frame { chatItem = ChatItem { authorId = 4 chatId = 2 + dateSent = 1695248715439 directionless = DirectionlessMessageDetails {} updateMessage = ChatUpdateMessage { simpleUpdate = SimpleChatUpdate { diff --git a/test-cases/chat_item_simple_updates_06.binproto b/test-cases/chat_item_simple_updates_06.binproto index 07d93b6..f334a53 100644 Binary files a/test-cases/chat_item_simple_updates_06.binproto and b/test-cases/chat_item_simple_updates_06.binproto differ diff --git a/test-cases/chat_item_simple_updates_06.txtproto b/test-cases/chat_item_simple_updates_06.txtproto index 4eec9ee..224484b 100644 --- a/test-cases/chat_item_simple_updates_06.txtproto +++ b/test-cases/chat_item_simple_updates_06.txtproto @@ -116,6 +116,7 @@ Frame { chatItem = ChatItem { authorId = 4 chatId = 2 + dateSent = 1833527071192 directionless = DirectionlessMessageDetails {} updateMessage = ChatUpdateMessage { simpleUpdate = SimpleChatUpdate { diff --git a/test-cases/chat_item_simple_updates_07.binproto b/test-cases/chat_item_simple_updates_07.binproto index eafd986..0a2947b 100644 Binary files a/test-cases/chat_item_simple_updates_07.binproto and b/test-cases/chat_item_simple_updates_07.binproto differ diff --git a/test-cases/chat_item_simple_updates_07.txtproto b/test-cases/chat_item_simple_updates_07.txtproto index 27bbaf2..178fa38 100644 --- a/test-cases/chat_item_simple_updates_07.txtproto +++ b/test-cases/chat_item_simple_updates_07.txtproto @@ -116,7 +116,7 @@ Frame { chatItem = ChatItem { authorId = 4 chatId = 2 - dateSent = 1833527071192 + dateSent = 1695248715439 directionless = DirectionlessMessageDetails {} updateMessage = ChatUpdateMessage { simpleUpdate = SimpleChatUpdate { diff --git a/test-cases/chat_item_simple_updates_08.binproto b/test-cases/chat_item_simple_updates_08.binproto index 6162cc9..b8aa0c5 100644 Binary files a/test-cases/chat_item_simple_updates_08.binproto and b/test-cases/chat_item_simple_updates_08.binproto differ diff --git a/test-cases/chat_item_simple_updates_08.txtproto b/test-cases/chat_item_simple_updates_08.txtproto index a2f779c..42aae16 100644 --- a/test-cases/chat_item_simple_updates_08.txtproto +++ b/test-cases/chat_item_simple_updates_08.txtproto @@ -116,7 +116,7 @@ Frame { chatItem = ChatItem { authorId = 4 chatId = 2 - dateSent = 1695248715439 + dateSent = 1833527071192 directionless = DirectionlessMessageDetails {} updateMessage = ChatUpdateMessage { simpleUpdate = SimpleChatUpdate { diff --git a/test-cases/chat_item_simple_updates_09.binproto b/test-cases/chat_item_simple_updates_09.binproto index bccad0f..481e8f2 100644 Binary files a/test-cases/chat_item_simple_updates_09.binproto and b/test-cases/chat_item_simple_updates_09.binproto differ diff --git a/test-cases/chat_item_simple_updates_09.txtproto b/test-cases/chat_item_simple_updates_09.txtproto index eb73109..ee3e369 100644 --- a/test-cases/chat_item_simple_updates_09.txtproto +++ b/test-cases/chat_item_simple_updates_09.txtproto @@ -116,6 +116,7 @@ Frame { chatItem = ChatItem { authorId = 4 chatId = 2 + dateSent = 1695248715439 directionless = DirectionlessMessageDetails {} updateMessage = ChatUpdateMessage { simpleUpdate = SimpleChatUpdate { diff --git a/test-cases/chat_item_simple_updates_12.binproto b/test-cases/chat_item_simple_updates_12.binproto index 110edf1..f1fd5b7 100644 Binary files a/test-cases/chat_item_simple_updates_12.binproto and b/test-cases/chat_item_simple_updates_12.binproto differ diff --git a/test-cases/chat_item_simple_updates_12.txtproto b/test-cases/chat_item_simple_updates_12.txtproto index 9a23679..d445975 100644 --- a/test-cases/chat_item_simple_updates_12.txtproto +++ b/test-cases/chat_item_simple_updates_12.txtproto @@ -116,6 +116,7 @@ Frame { chatItem = ChatItem { authorId = 4 chatId = 2 + dateSent = 1833527071192 directionless = DirectionlessMessageDetails {} updateMessage = ChatUpdateMessage { simpleUpdate = SimpleChatUpdate { diff --git a/test-cases/chat_item_simple_updates_13.binproto b/test-cases/chat_item_simple_updates_13.binproto index 4f7601b..ee59ffc 100644 Binary files a/test-cases/chat_item_simple_updates_13.binproto and b/test-cases/chat_item_simple_updates_13.binproto differ diff --git a/test-cases/chat_item_simple_updates_13.txtproto b/test-cases/chat_item_simple_updates_13.txtproto index ff6de4a..52141e7 100644 --- a/test-cases/chat_item_simple_updates_13.txtproto +++ b/test-cases/chat_item_simple_updates_13.txtproto @@ -116,7 +116,7 @@ Frame { chatItem = ChatItem { authorId = 4 chatId = 2 - dateSent = 1833527071192 + dateSent = 1695248715439 directionless = DirectionlessMessageDetails {} updateMessage = ChatUpdateMessage { simpleUpdate = SimpleChatUpdate { diff --git a/test-cases/chat_item_simple_updates_14.binproto b/test-cases/chat_item_simple_updates_14.binproto index e8c1173..2d14bf1 100644 Binary files a/test-cases/chat_item_simple_updates_14.binproto and b/test-cases/chat_item_simple_updates_14.binproto differ diff --git a/test-cases/chat_item_simple_updates_14.txtproto b/test-cases/chat_item_simple_updates_14.txtproto index 8629749..6e18b77 100644 --- a/test-cases/chat_item_simple_updates_14.txtproto +++ b/test-cases/chat_item_simple_updates_14.txtproto @@ -116,7 +116,7 @@ Frame { chatItem = ChatItem { authorId = 4 chatId = 2 - dateSent = 1695248715439 + dateSent = 1833527071192 directionless = DirectionlessMessageDetails {} updateMessage = ChatUpdateMessage { simpleUpdate = SimpleChatUpdate { diff --git a/test-cases/chat_item_simple_updates_15.binproto b/test-cases/chat_item_simple_updates_15.binproto index 6fd6942..af53b85 100644 Binary files a/test-cases/chat_item_simple_updates_15.binproto and b/test-cases/chat_item_simple_updates_15.binproto differ diff --git a/test-cases/chat_item_simple_updates_15.txtproto b/test-cases/chat_item_simple_updates_15.txtproto index 62cac02..60f8e40 100644 --- a/test-cases/chat_item_simple_updates_15.txtproto +++ b/test-cases/chat_item_simple_updates_15.txtproto @@ -116,6 +116,7 @@ Frame { chatItem = ChatItem { authorId = 4 chatId = 2 + dateSent = 1695248715439 directionless = DirectionlessMessageDetails {} updateMessage = ChatUpdateMessage { simpleUpdate = SimpleChatUpdate { diff --git a/test-cases/chat_item_thread_merge_update_00.binproto b/test-cases/chat_item_thread_merge_update_00.binproto index 97484b4..2e2dc85 100644 Binary files a/test-cases/chat_item_thread_merge_update_00.binproto and b/test-cases/chat_item_thread_merge_update_00.binproto differ diff --git a/test-cases/chat_item_thread_merge_update_00.txtproto b/test-cases/chat_item_thread_merge_update_00.txtproto index 5e7fadc..a02a71b 100644 --- a/test-cases/chat_item_thread_merge_update_00.txtproto +++ b/test-cases/chat_item_thread_merge_update_00.txtproto @@ -116,6 +116,7 @@ Frame { chatItem = ChatItem { authorId = 4 chatId = 2 + dateSent = 1833527071192 directionless = DirectionlessMessageDetails {} updateMessage = ChatUpdateMessage { threadMerge = ThreadMergeChatUpdate { diff --git a/test-cases/chat_item_thread_merge_update_01.binproto b/test-cases/chat_item_thread_merge_update_01.binproto index f75ff1e..9d418e8 100644 Binary files a/test-cases/chat_item_thread_merge_update_01.binproto and b/test-cases/chat_item_thread_merge_update_01.binproto differ diff --git a/test-cases/chat_item_thread_merge_update_01.txtproto b/test-cases/chat_item_thread_merge_update_01.txtproto index 4808645..4b6b333 100644 --- a/test-cases/chat_item_thread_merge_update_01.txtproto +++ b/test-cases/chat_item_thread_merge_update_01.txtproto @@ -116,7 +116,7 @@ Frame { chatItem = ChatItem { authorId = 4 chatId = 2 - dateSent = 1833527071192 + dateSent = 1695248715439 directionless = DirectionlessMessageDetails {} updateMessage = ChatUpdateMessage { threadMerge = ThreadMergeChatUpdate { diff --git a/test-cases/chat_item_thread_merge_update_02.binproto b/test-cases/chat_item_thread_merge_update_02.binproto deleted file mode 100644 index f81689c..0000000 Binary files a/test-cases/chat_item_thread_merge_update_02.binproto and /dev/null differ diff --git a/test-cases/chat_item_thread_merge_update_02.txtproto b/test-cases/chat_item_thread_merge_update_02.txtproto deleted file mode 100644 index 24d23c0..0000000 --- a/test-cases/chat_item_thread_merge_update_02.txtproto +++ /dev/null @@ -1,127 +0,0 @@ -// This file was auto-generated! It's only meant to show you what's in the .binproto. Do not edit! - -BackupInfo { - backupTimeMs = 1715636551000 - version = 1 -} - -Frame { - account = AccountData { - accountSettings = AccountSettings { - customChatColors = [ - CustomChatColor { - id = 1 - solid = -16777216 - }, - CustomChatColor { - id = 2 - solid = -65536 - }, - CustomChatColor { - id = 3 - solid = -16711936 - } - ] - displayBadgesOnProfile = true - hasCompletedUsernameOnboarding = true - hasSeenGroupStoryEducationSheet = true - hasSetMyStoriesPrivacy = true - hasViewedOnboardingStory = true - keepMutedChatsArchived = true - linkPreviews = true - notDiscoverableByPhoneNumber = true - phoneNumberSharingMode = PhoneNumberSharingMode.NOBODY - preferContactAvatars = true - preferredReactionEmoji = [ - "a", - "b", - "c" - ] - readReceipts = true - sealedSenderIndicators = true - storiesDisabled = true - storyViewReceiptsEnabled = true - typingIndicators = true - universalExpireTimerSeconds = 3600 - } - avatarUrlPath = "" - donationSubscriberData = SubscriberData { - currencyCode = "USD" - manuallyCancelled = true - subscriberId = - } - familyName = "Fett" - givenName = "Boba" - profileKey = <610291abedc34249489da39a31c9a5cd99cdd26ff58732e268e357ee0075d9d8> - username = "boba_fett.66" - usernameLink = UsernameLink { - color = Color.OLIVE - entropy = <65675c73d00eb01005e3bb7c4a47f296cb6554f78981238815e915d824fd2e93> - serverId = <61c101a200d5421789c20518d8497af0> - } - } -} - -Frame { - recipient = Recipient { - id = 1 - self = Self {} - } -} - -Frame { - recipient = Recipient { - id = 2 - releaseNotes = ReleaseNotes {} - } -} - -Frame { - recipient = Recipient { - distributionList = DistributionListItem { - distributionId = <00000000000000000000000000000000> - distributionList = DistributionList { - name = "My Story" - privacyMode = PrivacyMode.ALL - } - } - id = 3 - } -} - -Frame { - recipient = Recipient { - contact = Contact { - aci = <00000000000000000000000000000001> - e164 = 16105550101 - pni = <00000000000000000000000000000002> - profileFamilyName = "Smith" - profileGivenName = "Alice" - profileKey = <0000000000000000000000000000000000000000000000000000000000000000> - registered = Registered {} - visibility = Visibility.VISIBLE - } - id = 4 - } -} - -Frame { - chat = Chat { - id = 2 - recipientId = 4 - } -} - -Frame { - chatItem = ChatItem { - authorId = 4 - chatId = 2 - dateSent = 1695248715439 - directionless = DirectionlessMessageDetails {} - updateMessage = ChatUpdateMessage { - threadMerge = ThreadMergeChatUpdate { - previousE164 = 18075550161 - } - } - } -} \ No newline at end of file