From 98dbb66453cddff4e2593c4d1c29ff39666bdb30 Mon Sep 17 00:00:00 2001 From: Sasha Weiss Date: Mon, 9 Sep 2024 08:57:51 -0700 Subject: [PATCH] Update ContactMessage test cases --- src/main/kotlin/Permutations.kt | 7 + .../tests/ChatItemContactMessageTestCase.kt | 23 +++- .../ChatItemExpirationTimerUpdateTestCase.kt | 2 +- .../ChatItemProfileChangeUpdateTestCase.kt | 2 +- ...ChatItemSessionSwitchoverUpdateTestCase.kt | 2 +- .../tests/ChatItemSimpleUpdatesTestCase.kt | 2 +- .../ChatItemThreadMergeUpdateTestCase.kt | 2 +- src/main/proto/Backup.proto | 3 +- .../chat_item_contact_message_00.binproto | Bin 474 -> 515 bytes .../chat_item_contact_message_00.txtproto | 4 + .../chat_item_contact_message_01.binproto | Bin 1125 -> 655 bytes .../chat_item_contact_message_01.txtproto | 93 ++----------- .../chat_item_contact_message_02.binproto | Bin 644 -> 947 bytes .../chat_item_contact_message_02.txtproto | 84 +++++++++--- .../chat_item_contact_message_03.binproto | Bin 1076 -> 673 bytes .../chat_item_contact_message_03.txtproto | 112 +++------------ .../chat_item_contact_message_04.binproto | Bin 636 -> 831 bytes .../chat_item_contact_message_04.txtproto | 54 ++++++-- .../chat_item_contact_message_05.binproto | Bin 1116 -> 758 bytes .../chat_item_contact_message_05.txtproto | 114 +++++----------- .../chat_item_contact_message_06.binproto | Bin 469 -> 664 bytes .../chat_item_contact_message_06.txtproto | 22 +++ .../chat_item_contact_message_07.binproto | Bin 1126 -> 771 bytes .../chat_item_contact_message_07.txtproto | 114 ++++------------ .../chat_item_contact_message_08.binproto | Bin 644 -> 809 bytes .../chat_item_contact_message_08.txtproto | 71 +++++++--- .../chat_item_contact_message_09.binproto | Bin 1076 -> 512 bytes .../chat_item_contact_message_09.txtproto | 103 +------------- .../chat_item_contact_message_10.binproto | Bin 636 -> 654 bytes .../chat_item_contact_message_10.txtproto | 46 ++++--- .../chat_item_contact_message_11.binproto | Bin 1114 -> 947 bytes .../chat_item_contact_message_11.txtproto | 121 ++++++----------- .../chat_item_contact_message_12.binproto | Bin 469 -> 671 bytes .../chat_item_contact_message_12.txtproto | 25 +++- .../chat_item_contact_message_13.binproto | Bin 1126 -> 833 bytes .../chat_item_contact_message_13.txtproto | 109 ++++----------- .../chat_item_contact_message_14.binproto | Bin 646 -> 758 bytes .../chat_item_contact_message_14.txtproto | 67 ++++++--- ...t_item_expiration_timer_update_00.binproto | Bin 422 -> 429 bytes ...t_item_expiration_timer_update_00.txtproto | 1 + ...t_item_expiration_timer_update_01.binproto | Bin 436 -> 436 bytes ...t_item_expiration_timer_update_01.txtproto | 2 +- ...t_item_expiration_timer_update_02.binproto | Bin 436 -> 436 bytes ...t_item_expiration_timer_update_02.txtproto | 2 +- ...hat_item_profile_change_update_00.binproto | Bin 439 -> 446 bytes ...hat_item_profile_change_update_00.txtproto | 1 + ...hat_item_profile_change_update_01.binproto | Bin 460 -> 460 bytes ...hat_item_profile_change_update_01.txtproto | 2 +- ...hat_item_profile_change_update_02.binproto | Bin 446 -> 0 bytes ...hat_item_profile_change_update_02.txtproto | 128 ------------------ ...item_session_switchover_update_00.binproto | Bin 428 -> 435 bytes ...item_session_switchover_update_00.txtproto | 1 + ...item_session_switchover_update_01.binproto | Bin 436 -> 436 bytes ...item_session_switchover_update_01.txtproto | 2 +- ...item_session_switchover_update_02.binproto | Bin 435 -> 0 bytes ...item_session_switchover_update_02.txtproto | 127 ----------------- .../chat_item_simple_updates_00.binproto | Bin 424 -> 431 bytes .../chat_item_simple_updates_00.txtproto | 1 + .../chat_item_simple_updates_01.binproto | Bin 431 -> 431 bytes .../chat_item_simple_updates_01.txtproto | 2 +- .../chat_item_simple_updates_02.binproto | Bin 431 -> 431 bytes .../chat_item_simple_updates_02.txtproto | 2 +- .../chat_item_simple_updates_03.binproto | Bin 424 -> 431 bytes .../chat_item_simple_updates_03.txtproto | 1 + .../chat_item_simple_updates_06.binproto | Bin 424 -> 431 bytes .../chat_item_simple_updates_06.txtproto | 1 + .../chat_item_simple_updates_07.binproto | Bin 431 -> 431 bytes .../chat_item_simple_updates_07.txtproto | 2 +- .../chat_item_simple_updates_08.binproto | Bin 431 -> 431 bytes .../chat_item_simple_updates_08.txtproto | 2 +- .../chat_item_simple_updates_09.binproto | Bin 424 -> 431 bytes .../chat_item_simple_updates_09.txtproto | 1 + .../chat_item_simple_updates_12.binproto | Bin 424 -> 431 bytes .../chat_item_simple_updates_12.txtproto | 1 + .../chat_item_simple_updates_13.binproto | Bin 431 -> 431 bytes .../chat_item_simple_updates_13.txtproto | 2 +- .../chat_item_simple_updates_14.binproto | Bin 431 -> 431 bytes .../chat_item_simple_updates_14.txtproto | 2 +- .../chat_item_simple_updates_15.binproto | Bin 424 -> 431 bytes .../chat_item_simple_updates_15.txtproto | 1 + .../chat_item_thread_merge_update_00.binproto | Bin 428 -> 435 bytes .../chat_item_thread_merge_update_00.txtproto | 1 + .../chat_item_thread_merge_update_01.binproto | Bin 436 -> 436 bytes .../chat_item_thread_merge_update_01.txtproto | 2 +- .../chat_item_thread_merge_update_02.binproto | Bin 435 -> 0 bytes .../chat_item_thread_merge_update_02.txtproto | 127 ----------------- 86 files changed, 501 insertions(+), 1095 deletions(-) delete mode 100644 test-cases/chat_item_profile_change_update_02.binproto delete mode 100644 test-cases/chat_item_profile_change_update_02.txtproto delete mode 100644 test-cases/chat_item_session_switchover_update_02.binproto delete mode 100644 test-cases/chat_item_session_switchover_update_02.txtproto delete mode 100644 test-cases/chat_item_thread_merge_update_02.binproto delete mode 100644 test-cases/chat_item_thread_merge_update_02.txtproto 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 47616ee6c3f081072be9c8329067e5d0d25f9c44..ec3dcb97feb387ebeed404bbe9bd2c4aba2d0def 100644 GIT binary patch delta 71 zcmcb`+|06JCL>>_QaT5d0E@)Bi*w$7HkiDCQIyq<%Z1Bn@-9XNB`H=xy8I;CZnQ*k{t(=0E?3l$K5mk4<9uYSoo*q;%pNMMg_(s6)q(%g~)APIX3Dd2nhf2UmGnP;P5s8W0K$G&DCiFfchV zFf}(Z5CI|;3K4inL~2WJLO^h8P*!v({gdPNzzJIt`m%0 z5|a-yO4bW-@tByHn;RHd8W)CMH*vyQNfl_&DTe`$h%iW|bF)cSqC0iJno0?i085vkwn5G$;BpDc)8l_qo8`ldkND1`X+%n3DV`vLWl31b`dB;OZ zAUpAJPD5#=5@+j2Z>FFZ#v1z$ecHup#lUr&nM;9-FVic^KQcVcB_zGT)2mR3uRJ)g z)YUmKytK5`)y-K-kc->U(%8t<)YQPx&_IAmia|;a&6~_pJcYT=DUtQzm5~8?*@;Su zT+#u)VUhWvu7wd54lWV?QIW~6!QrJPX?poZ=^!(dRPhE3vlMGdxMNhFmLdm}5Q7v~ zXlQ0;Np7}>Pni;f7K0IMMP6a5lNEy#gBOEV0td4YM~S0%NkDyAL>NkFD)D6%d4=SM zm-+=(W%xT4YO%Rh1?Tu>BZaaRSCPL*RC&2;zPG0nXJlY6yz)0<8~v6;%R)RvN5NvdIsy`K~cxf7dQ1BX+;k(5mc;Bnt*B Pt^#kT(sD - 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 ec40750fac18ec2d024c01dd3760c99c02c67e4b..a81eb4ff649c60629e8b6457acaeddb80307ecb4 100644 GIT binary patch delta 550 zcmXYt$&S(h06@#8&_S$t(T<|2bC@(?gv#z=fR<892PiPKbP^4v3u_BFr9&@x7~@Gj znYev{af?Rd!FY2!s)_!Bi7_U6QxjzpukY~k@^)QM_CLC5o8NFE*PU)VWIOWU{he<= zL-an->2|_^_}2mcae!IS*QJGWlT(PgIx5g(zt60(Mh<5=!!U9r4!a6j3KtNcR#WOK zsrMO*8E!MEhvYZP+3^sUU_a=MMB?#KC>aVxk}=2*1Muz*u z>P-t-0R!dPurKBXeOMVV)GW>9CDOEHt)R(k`b6EcAg91XI~36?YT5LtS7~gowe{h` z>BKX+cUYDfr0hH5is;J6W$NbycaV z^3#6bq}_@(8=D1M!|vG-Pj}c-<+R^<>5KW+@|XGLgEM>RB9!u&m9jAH zFhni=`Y`qMgm8>em`<#rx00m-w{Dimpsq8)vs{Kx=reE&JeiQi#2FDO=WiMxGW;zIEd3Zu&S$JeX{{~2i6;cRU zPiAI%Yj;pu985j<3P)kuA4^1Wj 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 8ccdbf134e32e6fb9f92b239971e484d180a235c..0e1419f59b96325589fc9a964190e9fcad19289e 100644 GIT binary patch delta 253 zcmV$R>mA_52jV&nk| z;QD5Sb1=2DhF42Sx|0kVKSEiA_{43VP|D8 zYH(#|ItOZ2M^H^dSU~j|NaX`s985e_tV=_23H83<|WM(m9H8M3fM>r4z8W1)uw>SaceMxNKuR5Rr zSRx`2jtwU|)69L0C{+Z_@wFv*D74j|x&|@|SVUP&Z*oR(bVE1-ItoK`c~x#xbx}q_ DG5Aj` delta 680 zcmZ3;x`kuIOvd_|tV+{ZIhX_(z4*C!Iama4EPlOpov9KN2V>Gd7Ot~QTnb!#nO;%; zk>P1BA?XF4UWGz@<-viauFiqsrKP2=Zq8C-T-=71#zv;5rUr(F1_CTnte#FD&QVIb zT+#u)VUhWvu7wd54lWV?QIW~6!QrJPX?poZ=|FWn?iKYOE?M4rPMHN+0a`H}j6&R5 zSxKcSVU;eG=@n93p`n?XCArxiK4nV0rFpKdiH>=0K|V!gRa&e$DHTOoMywTig{e+f z9F>s)c`nKRPEMT3>3L<@rKORfUc8B^zNJo85osa5WgbaJ&5TN%iKQu-`TDs9###a# z6Q6#YZJ<>@`)5_%f+xy<1q~Vm9OklnJme1Ijw;LWaS3+L3Ud$O^5ar4H#fF0Ff}qX zHZw{|0UL`n&8@tByH zn;RHd8W38DrrlN5uJ9G6sKVscfvTS}FOk3)X8Z&W~TR(WBFmtJyyt^lKw zBK~j(8lfe{!6?O@Q5of2A5!F&7**(G#F-bBQ5xYD9^s;;$iXDUfD-r&S`4tDW^iKg zVlYZm;w;NdNd<+ai4|)|xqo6&l#Gv8kdB#Is$QLQMX9P!zK?HBu#u{9c(`YNajuXF z7l%thn2$?|OR18;ZBe^Bos0glFT12*BD}3g; - 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 84c98b1ef07b9b989274423cede7aca95941342e..60ee3ed800a3d1851fffc2d8c9f0ea5f9fef0c73 100644 GIT binary patch delta 383 zcmV-_0f7Ge1iuEbnE?f)10taVlb!(^2ZRF(fddLclfVHWe;NfzLP$eeA`Wg-W>jZJ zZ);3QOl@>bDhWndO;18`Z9`-lAPNjLG&eUeFgY+VG&wd91R4%Qc6dQgX=!nKL{3m{ zVj?jL9#45~Yhp)QZ*5R)Oh|b^Oh;r!cY0-RNp58>Z*pf41R4!XXnAZwOjk%mL`-mM zDo+Rj5(Ri}e{p3(A_hi!Q*2IaDhPR5P;NwHPeL*YV`px5Yjt&5RXPn}WleQLdRS&u zO?F6PLJCK8Vn<|5VR%(WN(^dpW^-*&Mr&(WP-Zfe0U`-$ZDD6+FK}*WDiB#7>zg&m zcD#RE8|a4*c>*wi5I~CpNZA)!986?MPgp-rMLAhCVN`x_QczNAMKM@8W;JSZbT$f3 z3Lr5zIAdmHV_`ToWH4rCI5TEqGc;p3WM*VxGcY(}GB6MT8W4%1{s*SgG!wRR7|XlZ dqktk17mWSNh0y~$A_{43VP|D8YH(#| zDi8>f<@TE}Dx3LwexT$d{Sh#L5IP8Dd3Zu&S$JeXoEJ#W15yB5985_~I( p$0`t6IWn+i9Z|C4i4R%fN(}FKFs0@H%mg|La7#jUcR@&Hb6CKlM|c1L 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 eca780c030f8c2b0280cea9602189098ef2bf68c..27f4c25c7a4645c949c7604034b97255cdcef13f 100644 GIT binary patch delta 322 zcmcb^@r`xEOh(q*OiDMHCeLFOV?V&ewU>#@a`J9Q$$BpT64#7mXW!J+EG4cK?*PA2 zw}{GuEG_o%%E*Ac>_jO6E*=vTb8`a&O9KN_b3*|}DIp{g6H7AzCMgCbQ7*v>50@bBGARRNaRJ}Uqic(ddd>`MMU?WxI@Nm!k;#?sME}pcE zO!vr?61UWXiZmsGvKim17Hw5AyqA3EIbYBA_|N!q1p+NNupG+_s`v}v2JNmH7p z$-#Q`D)S;^!;>h2^CW^GDC$p;fesY(vYQ|SVMC`LL=WD-@A5u}zO&L88A*QUjcCzBq zY|Ln8B(9~|W|5g!jMm8-=n8R3$F70H0k9iScR9YyBfh#Lk;P6@mP`WmYaOO&2v#=l z)^mi3jV9f~Mz$ID>Qdbrlo_E+MWIfPmTWs=q*H`f%qxmpWuyw@Q^~fg@oYYsuZJbn z+i1zP>V>vmi+vxZZ%(d)Vop`vrp*PeKp@rTS*lA}@bL8U(ZPeAMHH^K-`svT`(%G_ z_9%kvOOqJ98#n3E0seCD?W2*X-*M9GuAIrVvn-d+LtloVvyi{R zNI6kZsba02V$6WwF66BQnHMa}N+d~S3i5@P7s8Q91P_I9cmx4b1Wif^{7+L48iZ!K z3@;j`gjw##sB%scl|(_Xx&w9I=+sWG<12ld($YH7Xloog_uuLsYz_1Te44gyRd|PT zYJCJMl^Tt1t4Xsxbi&dT2|2DOSJ_U_#ej`UzoUhLzHU~DDEQNrQgQ_0Rcd-~(6lVE z#7xN5j77L*wV3JA>lgxh{xbY+^^58cL#?4=FnH_p;TDc - 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 33580d0f20df9930ceac420fa1ee04316874155c..95a98062bf619eaed8b00351a2aad89de71de8c2 100644 GIT binary patch delta 237 zcmV$R>mDga{L0Sejy z3PO{$0U&=G1xZ3kLs}vZZc}DdXGU*pOh`;^bWADEOGynkC8=!Xw^0x*COItOZ2M^H^dSU|=TNVOkY985_~I(06(*G5j=_ddv|+ n!g4AQOkIVLjoC(I>cB&&c?zZGFxL3E{s%e;K~+j78 delta 40 wcmbQidX;&@Ohy@NB})z_0Y)!gE^ZDMfg6ioZ(V1q#gL@JrNpH$`2eE=0NDfzjQ{`u 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 29491f238b9a5b438236be7693477a321344d140..1341f0d512e049d18d06c3c971295e6a5d03c94f 100644 GIT binary patch delta 372 zcmV-)0gL|T2!jT&nE`+30wU!C2m%lR7@@$KjFK@*4+;$k1Q4&C%B8C@G6DzzV#Wdr z!vYF93I|hbOi@QgQW6bAaZyf1S4VO|dU8lv8VXNzMQCF~O=V?jA_`D5Sb1=2 zDhF42Sx|0kVHzC@3^X)1H!v_cFfcVYF%Sb93rj~-S8!BSMO1%TdLknV5qL;MYD;cH zKyYeMR&*|7Z*33*8Vpu?b68VsZc0Q$NK-0b2m=xcZdzz{SV~t|L>disZbe05L2gD; zOmcR5A_Z(@cyekg3UW_KT6cFvZ%aus30YBNV|ryuT4Xv4WvsW^Q?LcS%ZaGF2i9X>DO=WiM)QWoJP38A#;=5wRc=#tQAR>z3wuuh delta 730 zcmZY6&1=(O00!`+wOjh`!>k@0af~f0jKb#IwCR@<*LLl?v}>Dwr3oUY>37$rsg2!o zumhO~VW1a5Ho=2}LvWsVP|?d!5o9;@;K7L(4^B`#2u?*9`VTx0&+oa^^#OZu1MNIF zkXr^!hogh{U#)%m0-1xL4?BQw+9W?EtDClz11&b{U zDVoYV_X-gLUzvPOmChoUli9)Bqx{<-iC4v^^GhmE8kawZbn%bYv4>A~Hw|tCywQUZ z&|hYRD9;t9JIP{WmQhUo?F6g(eJrP{sz2Z(20)L+Wu<7Eh87FNbp%2T|Fct1^eQ!9 zj^`HnSiLHequ@wvF3rm+zmi#)n$AQ8Uh*e6wN;pqo5f!dr-ui^bRBMs`w;O@14@`sm80j_Qu&Q(AQ)>qOk35%Q{SPcVNz^AmRT B+8h7? 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 399d4906afddffd1375c7527705714bc3b0e8be6..d0f7ee29115699b670d05968cd7bc2ece2654382 100644 GIT binary patch delta 411 zcmZo+UCFj#CS!dcvr;!R2a^D!#JY=f-hMXlV&h`rU@>Ay`pU%hiHXaJi!akF%0DtZ z%_Stgz|*Txh_5_2u+-H#Fub(1)YZ*diq+G}!#PTcFE2PPB;74P+sDHvx5P(_(=Ec+ z->ERyIYml=i^s&o+}yyx(!jvP(oBFwiqE;M!qGo7v#_e(#V;T)NlE}oiK)4v0Hcy2 zmz;lPZg!G;RDNzij*myBgO7WPTX|J#o@ZXFUVc$J&=_9tjLIBGpKuQs7oUPGB~dQH z3J;eo?>r}mf~DO=WiMxGW;zIEd3Zu&S$JeX{{~2i6;cRU zPiAI%Yj;pu985j<3P)kuJq)jsb 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 444a9d8133e25c2dd7e2022e01e24b53badd4134..60171cb5755f67bc31d0385cc6ab30098f60c258 100644 GIT binary patch delta 83 zcmdnO(ZI4{CZlSaQVIu?0Hegh12cOj8G7+^@p7;T+*tg2>pD{_CJx3VH!c@0r^&k+ n6%|=MojjbQl=$+3(?ZhS^0R$Bd~!>Cv^d=&eEppYbDdKF2{Ra? delta 651 zcmZo**}}15CZp0!R;6jI983a?Ui@6V94rDi7Qf!Q&eV#DgE8qJ3)fjDE``ba7!~Wq zxVQ~1jg3rAO$`hU4Fp)ESUsIQoTHRB99$y&qau@CgTqTp()99+ z(t+xD+$%g>vb^)0G7GW-v|>0Ig}Ae_l1fv;DqSkmE2OwWLo+i=a87xtn$JTFTLdaTmeQUMf~9oG($^@gHeh*qcX}lq{uBXs?f=ZGcPKm zG{P%9!bMAwgGq=1CGZ)v7$8CIWX0gb;Kg8+ro>s6nUV?$N)xLX){t`l#G)t}AFm)C zGqY5^I_HW~RiAtx- - 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 e6a86223d8e5dfd5750f655e47e910f02b5e28dd..54a9da10b170c5ca6a72d4bdf3cfaaf369678c4b 100644 GIT binary patch delta 231 zcmV)APIX3Dd2nhf2UmGnP;P5s8W0K$G&DCiFfchVFf}(Z z5CI|;3K4inL~2WJLO^h8P*!vDO=WiM)QWoIf72$ALXn=mSy`Feh!&~?Lmj1fODiB#YGO%S)vf_ykS>Z|y?|3k!<^RkC PItp-0LUngRNM& - 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 9eaa5ce07018520b64608d7de078cc454490598d..bb7ec0ce679069837eb9d23d0dcb0eafef881014 100644 GIT binary patch delta 495 zcmcb`v6+3tOh$znEJ{;ZIG6+&B^Dl-*)z$|i;atggT;v<=|3~qA7(D6$*-9d>sdXW zJe;GH`0|3&Lekyxvwb{#a!Y))INc(A{hbPPol~TQxOhxV%*_o9EDa1yEX@R%q!^@R zk;F{R4F#B`xV_y&!V5w|T|*+PlvKFn{3~;_liZ{7a|3dGJSrW0+*91jt5Wkk^HTNl zi_$@cC@FIZR@8gAWO?T~ITU0Cgq7$e=jQ^A;t8uNjtI`l^Kx#-X z3ds*I^$V=Z0J=+y!HB_%!HL0(K`WkvS%@<)Dx);QD?GwQinlb+)iu#E&n?KOsH{qf zH7BK_C`*g0$loKXyxcY4+tY|MGB7#0D%C40#fm#E%(0YEud=Y*(<{$t4WklgW^Q77s(wLUx|Tqs-0Rtjl;YO;BXnW>RslDV0YNn&DJl0}-K zWs13JDli}fT68z9-6!l-W;bOsH#o-w0l~Gt;SPlTS-G0cYB+j1`17P1-C?+oX@Q2|Jjk&ty%T(Dadm z_2|Ki&dV4Ry@(<>K@bH&5%o`yp$ruCvYQ}+u%Ywh;7yziigo51)vh&=-# z7Xr-QezAG=dXSxfJ&=byR=EShJ1%$@_U3g?NYc5$RNNFYbSY`Y9E*|Ad3bVZX?d9- zRtO@vxQMvXNwXcVN~Mv+8@hs>g;7&cok61NFkG~wr)9pa4a@?&pmy3vYp_>}$;KGJ z2)P4LFP7@@Vp&A}&5;~0SP4ZoNo-oP*g~gdX9TC2B~5%H;pEpdddO$UO}osN%2Wil zvWz?!(4EvO>5~Lib!x0!W&QPd*U>~yNC?f4jQLt^rBOTIH5$<$6U>#F93*Aybw?lY zg}?=27DM51mBnk7k} z+A#XMZA(RVN~xu7(ka&q={{4zQ3&`;=?{(Hr5i1xjw8^u&)>EPeCxY&>DH$+hsTM_ iNCYelvWgYm_A(#+IltU*a#TL9iAjEA!9DLnkNpJhYSGRB 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 9a80386a861812d1dbc9bdc8b610a847afa68f11..94f646c3166ba33705ea1b5452088e880520c8df 100644 GIT binary patch delta 272 zcmV+r0q_3R1D^%3nE`)<0wRF|2m%lR7_QNr?ej274GIeg1Q6Jx>$R>mN&sTy0Se&( z3ONb~Q)^67M@3Q+4MTBJPDNKoazT1>NLd;RPjp3SV?#}4WojY{WJ^#^bw*fuaB3DO=WiM)QWoJ4EYF0;3O+r{e^%+Rz16qF^Oh-p5W-KjfE^IAt zKSv~fKU#D*a7a!uJ#gwhU0DmYGY5)KL 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 db450bf181e3c8be6e63d5a0090e45577142e6fb..3689d6df4b440726d147b4d9afaa993e670abf43 100644 GIT binary patch delta 406 zcmV;H0crl`2*C!hnE@%L10tgX2m%lR7@@$KjFK@*4+;$k1Q4&C%B8C@N&*N0VuS+< zfddLclZ^r)e+5ZGNJCm84sKIsRA)wSYfMN?ZFEd32}W2=PeO5RLu48t3Jf$fH#aaa zIWRCZIW`ak8V*BtctKBTX>oc)PEc-QA~6acPkC)?VnEOGynkC8=!Xw^0x*COK#KxM*%w+IOk_zk@0af~f0jKb!xNz<1T*LLl?wClS~6GTkYch{z=joosv zyUc?y(2F3O;6cG5IL|xyybKjVc2f@?oOtoz1jU2kRD_}b!1v4d^L^a)0lR-4?L0S- zTLw&rql5Qet$q3e*@K`DJAiN8cy{})h1FqbcHIEBP%sF(6V*^`#uqpBd6ih$$IUd| zS~I{CIOw%n?RE&A5L##&N6BG8D59jb{W&cVnv$z?LbO(CD@k@jl503>CNPxfDJ=@# zWV7QJ1;s-d>q1G*uv})EIzxhTO)Tb5R2umr2!jz@)@G4to8*9YhH+99bUK)V#hQf_ zL**TNg$RMKOunW{XOTqQw+mEiv{930wIR~*{LUbm6|ul zbBlbmUKPnva3ngH=H--6$t+AwXCeYG`4XJkDon`D;;#tu_ZW{BuR4 zUNqy_)t#@a(7gIxyLj{c(H{eF33nNi?TFZ%T00zgsgEPVP^b_p+0wG;49{|>+hPB> zEQiKVa_)>nUIaWCaWHx4$Wa!`%0Pw^opcJH~qT6H1oKwO{^^r&rjAb&pd6KKcU AasU7T 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 956b0cadc198a8529b3729a2fd7fc6b9fb04f850..96b32c3d86f14c66bb9423927f16d7d51cf9a27f 100644 GIT binary patch delta 359 zcmZo;{l>asCS(0=CZ!up983a?66-F`dHdPGi-U`egT)IdlyrcJYcCU*B^P^ewojnD zYmgAHb77#LYq)!nV^xtyq!gEbiEBo(vu|o@mJ(NrcYt51TSR3+mKJ+>Wn@5JcA}I3 z7mtaFxw(OXrGbH|xuF1~ln|1LiKUqUQ@s>}k|>v8g@;R)cb=0&K~_LmiC%Jkt^lKw z3YVOJWo~wodsKdIK#q?`rGt-qid%VAYMy6as$PCkx&V_DgBBMDqY|52Rd9}9ww4?R zlMsUxUsjP+zf++WgAs!jgA;=ngHgT`S7vTvda8a_L29}cXL*2sRD4;6 zk4tcrjE`54j+t4iUY&DAsj5%Dk8e$|k*aZcxMzNGu8;*6Pg+K%dt^$9TWUc?nvy`- vjBizowi@0`zVn=~XM6HIErA7YZ^}aK4(!hDj& - 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 1dbd021dc31bd650a378422dfba659f588c02e5f..8d2b028a07a98aa8b88516508c7d5f3e7ce39737 100644 GIT binary patch delta 28 kcmZ3+yq0;xOhyr5B|#1*0Y-@%i(hYDXBxy%#U#Z50C*Y*7XSbN delta 21 ccmZ3>yo`CnOh#TFB`yvo0mdMPDkdog063@v>;M1& 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 18040e5372d2b37c02df17fbaf79d9525f4cb3c9..9f760cefda54b40bc2377b5728e6e5b70b52a7f6 100644 GIT binary patch delta 27 jcmdnOyoGtgLPp{Bb5AW@Z5YH*#VN(kap3izwa4WFoWl#F delta 27 jcmdnOyoGtgLPp^mi(hYDXBxy%#VN(kap3izwa4WFqtFZr 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 b639972ee891b673090bbd3d1aff64faf57c5579..9f87d8ef15f0e2d36127e007a6e5e7d6707555f2 100644 GIT binary patch delta 27 jcmdnOyoGtgLPp^mi(hYDXBxy%#VN(kF=5uhi_dugpvVh< delta 27 jcmdnOyoGtgLPp{Bb5AW@Z5YH*#VN(kF=5uhi_dugnY#-Z 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 1210829334447e31df2096875afd94de9fc2f97d..65402acb3d58fcbd8c257b723ee3853c43369ac8 100644 GIT binary patch delta 26 icmdnaypMUqOh!HxB_$3f0TziHi(hYDXF7QSqc{L>IS9J| delta 38 tcmdnTyq$T&Oh!3bC20;O0hS_$LPoarb5AW@Z8&*3qbdMSG6(Je delta 18 acmX@Ze1>_$LPoY5i(hYDXF7Q~qbdMVpa@j} 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 6b89a122383c56964563e1bd217452186902afe3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 446 zcmd<&U=+CVYr*{QhVK};UNdqjBr;80{r0evr^npIvkXrzJv;O4rTnk$MvpQchreSe zy?H~3Cn-NEF+MG|q(slmOv;Q)AvHaw_yXSs0oKR6YrNb)O*@?$^1ZWBxkL1&=na*> zdXt3&5)U#iVz}xg-g$^s;)Z9{2MHD>7AK%7S}blrW2`i}6yEI4IBsGrrMKAl>~i;$ zJ+8s2N{JEL{^z0|+*{#$E>%*9IW*Wsg3-$h=v+n#Mg>LQ6Kf`}EAr=lsEd~(9 zWW=B*q{6|hq`)NrRE`3qc(^!xD;0uE@{1}Zn3IGOI9P;YFqAP0p=)GPnEL3>e`_xV z6w|P9qF5bsGLuu2Sc7vjOERn&*rb3C5@1nLQUXyD>*t - } - 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 0ce58f15cf6be9972a40adb3b57aa17a2bf943dc..c483b7533e7be6cdc284a8fc97cfcf761c6b8b69 100644 GIT binary patch delta 34 qcmZ3(yqS5!Ohze5C2@g50hS zdXt3&5)U#iVz}xg-g$^s;)Z9{2MHD>7AK%7S}blrW2`i}6yEI4IBsGrrMKAl>~i;$ zJ+8s2N{JEL{^z0|+*{#$E>%*9IW*Wsg3-$h=v+n#Mg>LQ6Kf`}EAr=lsEd~(9 zWW=B*q{6|hq`)NrRE`3qc(^!xD;0uE@{1}Zn3IGOI9P;YFqAP0p=)GPnEL3>e`_xV z6w|P9qF5bsGLuu2Sc7vjOERn&*rb3C5@3;35(iNd>*t - } - 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 77a1cb0a27b670cb1c1b2dc138ad24c76cf330bd..de27e1491e078861aefc2ced72d2735a9936eee8 100644 GIT binary patch delta 30 mcmZ3%yqP6xvP delta 23 ecmZ3_yn=bdOh$e_B_0kY0hS)x delta 23 ecmZ3_yn=bdOh$e_B_0kY0hS 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 e8c117330c98435a30da48db933155b24d21c39b..2d14bf1813b52aa2b9617d7b509c984199a8405e 100644 GIT binary patch delta 22 ecmZ3_yq@g50hS zdXt3&5)U#iVz}xg-g$^s;)Z9{2MHD>7AK%7S}blrW2`i}6yEI4IBsGrrMKAl>~i;$ zJ+8s2N{JEL{^z0|+*{#$E>%*9IW*Wsg3-$h=v+n#Mg>LQ6Kf`}EAr=lsEd~(9 zWW=B*q{6|hq`)NrRE`3qc(^!xD;0uE@{1}Zn3IGOI9P;YFqAP0p=)GPnEL3>e`_xV z6w|P9qF5bsGLuu2Sc7vjOERn&*rb3C5@3;35(iNd>*t - } - 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