diff --git a/test-cases/expiration-timer-chat-update-message.binproto b/test-cases/expiration-timer-chat-update-message.binproto index d43594f..29cb01b 100644 Binary files a/test-cases/expiration-timer-chat-update-message.binproto and b/test-cases/expiration-timer-chat-update-message.binproto differ diff --git a/test-cases/expiration-timer-chat-update-message.jsonproto b/test-cases/expiration-timer-chat-update-message.jsonproto index ada1f5e..102a13c 100644 --- a/test-cases/expiration-timer-chat-update-message.jsonproto +++ b/test-cases/expiration-timer-chat-update-message.jsonproto @@ -46,6 +46,20 @@ { "recipient": { "id": "3", + "distributionList": { + "distributionId": "AAAAAAAAAAAAAAAAAAAAAA==", + "distributionList": { + "allowReplies": true, + "memberRecipientIds": [], + "name": "My Story", + "privacyMode": "ALL" + } + } + } + }, + { + "recipient": { + "id": "4", "contact": { "aci": "X4xWjQEZR72BqruHybcZlQ==", "profileKey": "YtHHVK+Wo4nPcVpWhC3roMEDu2Tw6kYc9JpLRMq1Q94=", @@ -60,12 +74,12 @@ { "chat": { "id": "1", - "recipientId": "3" + "recipientId": "4" } }, { "chatItem": { - "authorId": "3", + "authorId": "4", "chatId": "1", "dateSent": "1", "directionless": {}, diff --git a/test-cases/profile-change-chat-update-message.binproto b/test-cases/profile-change-chat-update-message.binproto index f210c3c..937991d 100644 Binary files a/test-cases/profile-change-chat-update-message.binproto and b/test-cases/profile-change-chat-update-message.binproto differ diff --git a/test-cases/profile-change-chat-update-message.jsonproto b/test-cases/profile-change-chat-update-message.jsonproto index e279a5c..7d35516 100644 --- a/test-cases/profile-change-chat-update-message.jsonproto +++ b/test-cases/profile-change-chat-update-message.jsonproto @@ -46,6 +46,20 @@ { "recipient": { "id": "3", + "distributionList": { + "distributionId": "AAAAAAAAAAAAAAAAAAAAAA==", + "distributionList": { + "allowReplies": true, + "memberRecipientIds": [], + "name": "My Story", + "privacyMode": "ALL" + } + } + } + }, + { + "recipient": { + "id": "4", "contact": { "aci": "X4xWjQEZR72BqruHybcZlQ==", "profileKey": "YtHHVK+Wo4nPcVpWhC3roMEDu2Tw6kYc9JpLRMq1Q94=", @@ -60,12 +74,12 @@ { "chat": { "id": "1", - "recipientId": "3" + "recipientId": "4" } }, { "chatItem": { - "authorId": "3", + "authorId": "4", "chatId": "1", "dateSent": "1", "directionless": {}, diff --git a/test-cases/registered-blocked-contact.binproto b/test-cases/registered-blocked-contact.binproto index 439129a..7f0dc12 100644 Binary files a/test-cases/registered-blocked-contact.binproto and b/test-cases/registered-blocked-contact.binproto differ diff --git a/test-cases/registered-blocked-contact.jsonproto b/test-cases/registered-blocked-contact.jsonproto index cae3550..323a290 100644 --- a/test-cases/registered-blocked-contact.jsonproto +++ b/test-cases/registered-blocked-contact.jsonproto @@ -39,6 +39,26 @@ { "recipient": { "id": "2", + "releaseNotes": {} + } + }, + { + "recipient": { + "id": "3", + "distributionList": { + "distributionId": "AAAAAAAAAAAAAAAAAAAAAA==", + "distributionList": { + "allowReplies": true, + "memberRecipientIds": [], + "name": "My Story", + "privacyMode": "ALL" + } + } + } + }, + { + "recipient": { + "id": "4", "contact": { "aci": "QHaZXgUxQEKp5B5np33zWA==", "pni": "JvwCorpYSn2wgZ2iOXFXCg==", @@ -64,7 +84,7 @@ { "chat": { "id": "2", - "recipientId": "2" + "recipientId": "4" } } ] diff --git a/test-cases/session-switchover-chat-update-message.binproto b/test-cases/session-switchover-chat-update-message.binproto index dc2f3b7..b856d50 100644 Binary files a/test-cases/session-switchover-chat-update-message.binproto and b/test-cases/session-switchover-chat-update-message.binproto differ diff --git a/test-cases/session-switchover-chat-update-message.jsonproto b/test-cases/session-switchover-chat-update-message.jsonproto index 872d56f..9e62729 100644 --- a/test-cases/session-switchover-chat-update-message.jsonproto +++ b/test-cases/session-switchover-chat-update-message.jsonproto @@ -46,6 +46,20 @@ { "recipient": { "id": "3", + "distributionList": { + "distributionId": "AAAAAAAAAAAAAAAAAAAAAA==", + "distributionList": { + "allowReplies": true, + "memberRecipientIds": [], + "name": "My Story", + "privacyMode": "ALL" + } + } + } + }, + { + "recipient": { + "id": "4", "contact": { "aci": "X4xWjQEZR72BqruHybcZlQ==", "profileKey": "YtHHVK+Wo4nPcVpWhC3roMEDu2Tw6kYc9JpLRMq1Q94=", @@ -60,12 +74,12 @@ { "chat": { "id": "1", - "recipientId": "3" + "recipientId": "4" } }, { "chatItem": { - "authorId": "3", + "authorId": "4", "chatId": "1", "dateSent": "1", "directionless": {}, diff --git a/test-cases/simple-chat-update-message.binproto b/test-cases/simple-chat-update-message.binproto index e39c06a..c8ee14d 100644 Binary files a/test-cases/simple-chat-update-message.binproto and b/test-cases/simple-chat-update-message.binproto differ diff --git a/test-cases/simple-chat-update-message.jsonproto b/test-cases/simple-chat-update-message.jsonproto index 4c6ff38..798b600 100644 --- a/test-cases/simple-chat-update-message.jsonproto +++ b/test-cases/simple-chat-update-message.jsonproto @@ -46,6 +46,20 @@ { "recipient": { "id": "3", + "distributionList": { + "distributionId": "AAAAAAAAAAAAAAAAAAAAAA==", + "distributionList": { + "allowReplies": true, + "memberRecipientIds": [], + "name": "My Story", + "privacyMode": "ALL" + } + } + } + }, + { + "recipient": { + "id": "4", "contact": { "aci": "X4xWjQEZR72BqruHybcZlQ==", "profileKey": "YtHHVK+Wo4nPcVpWhC3roMEDu2Tw6kYc9JpLRMq1Q94=", @@ -64,16 +78,16 @@ "recipientId": "2" } }, - // 1:1 chat with Contact recipient 3 + // 1:1 chat with Contact recipient 4 { "chat": { "id": "2", - "recipientId": "3" + "recipientId": "4" } }, { "chatItem": { - "authorId": "3", + "authorId": "4", "chatId": "2", "dateSent": "1", "directionless": {}, @@ -86,7 +100,7 @@ }, { "chatItem": { - "authorId": "3", + "authorId": "4", "chatId": "2", "dateSent": "2", "directionless": {}, @@ -99,7 +113,7 @@ }, { "chatItem": { - "authorId": "3", + "authorId": "4", "chatId": "2", "dateSent": "3", "directionless": {}, @@ -112,7 +126,7 @@ }, { "chatItem": { - "authorId": "3", + "authorId": "4", "chatId": "2", "dateSent": "4", "directionless": {}, @@ -138,7 +152,7 @@ }, { "chatItem": { - "authorId": "3", + "authorId": "4", "chatId": "2", "dateSent": "6", "directionless": {}, @@ -151,7 +165,7 @@ }, { "chatItem": { - "authorId": "3", + "authorId": "4", "chatId": "2", "dateSent": "7", "directionless": {}, @@ -164,7 +178,7 @@ }, { "chatItem": { - "authorId": "3", + "authorId": "4", "chatId": "2", "dateSent": "8", "directionless": {}, @@ -177,7 +191,7 @@ }, { "chatItem": { - "authorId": "3", + "authorId": "4", "chatId": "2", "dateSent": "9", "directionless": {}, @@ -190,7 +204,7 @@ }, { "chatItem": { - "authorId": "3", + "authorId": "4", "chatId": "2", "dateSent": "10", "directionless": {}, @@ -216,7 +230,7 @@ }, { "chatItem": { - "authorId": "3", + "authorId": "4", "chatId": "2", "dateSent": "12", "directionless": {}, @@ -242,7 +256,7 @@ }, { "chatItem": { - "authorId": "3", + "authorId": "4", "chatId": "2", "dateSent": "14", "directionless": {}, diff --git a/test-cases/story-distribution-list.binproto b/test-cases/story-distribution-list.binproto index 369e68a..e5eb145 100644 Binary files a/test-cases/story-distribution-list.binproto and b/test-cases/story-distribution-list.binproto differ diff --git a/test-cases/story-distribution-list.jsonproto b/test-cases/story-distribution-list.jsonproto index f29dc94..90b6e1b 100644 --- a/test-cases/story-distribution-list.jsonproto +++ b/test-cases/story-distribution-list.jsonproto @@ -28,103 +28,109 @@ }, { "recipient": { + "id": "2", + "releaseNotes": {} + } + }, + { + "recipient": { + "id": "3", "contact": { "aci": "VVxXlxwxS8aBGSQJ1tL0sA==", "profileGivenName": "Han Solo", "profileKey": "BSQ4Cl4xfTKwrRZzKGaxbL9rGa/ZYz2KP4NxaRYiYcE=", "registered": {} - }, - "id": "2" + } } }, { "recipient": { + "id": "4", "contact": { "aci": "VVtXlxwxS8aBGSQJ1tL0sA==", "e164": "15555550001", "pni": "VVpXlxwxS8aBGSQJ1tL0sA==", "profileSharing": true, "registered": {} - }, - "id": "3" + } } }, { "recipient": { + "id": "5", "contact": { "aci": "VVhXlxwxS8aBGSQJ1tL0sA==", "e164": "15555550002", "pni": "VVlXlxwxS8aBGSQJ1tL0sA==", "profileSharing": true, "registered": {} - }, - "id": "4" + } + } + }, + { + "recipient": { + "id": "6", + "distributionList": { + "distributionId": "AAAAAAAAAAAAAAAAAAAAAA==", + "distributionList": { + "allowReplies": true, + "memberRecipientIds": [ + "4" + ], + "name": "My Story", + "privacyMode": "ALL_EXCEPT" + } + } } }, { "recipient": { + "id": "7", "distributionList": { "deletionTimestamp": "1715633599374", "distributionId": "Vo1p4wr9Rz+onvgV+ig7Og==" - }, - "id": "5" + } } }, { "recipient": { + "id": "8", "distributionList": { "deletionTimestamp": "1715633599370", "distributionId": "VVVXlxwxS8aBGSQJ1tL0sA==" - }, - "id": "6" - } - }, - { - "recipient": { - "distributionList": { - "distributionId": "AAAAAAAAAAAAAAAAAAAAAA==", - "distributionList": { - "allowReplies": true, - "memberRecipientIds": [ - "3" - ], - "name": "My Story", - "privacyMode": "ALL_EXCEPT" - } - }, - "id": "7" + } } }, { "recipient": { + "id": "9", "distributionList": { "distributionId": "me/ptJ9tRnyCWu/eg9uP7Q==", "distributionList": { "allowReplies": true, "memberRecipientIds": [ - "3", - "4" + "4", + "5" ], "name": "Mandalorians", "privacyMode": "ALL_EXCEPT" } - }, - "id": "8" + } } }, { "recipient": { + "id": "10", "distributionList": { "distributionId": "ZYoHlxwxS8aBGSQJ1tL0sA==", "distributionList": { "memberRecipientIds": [ - "3" + "4" ], "name": "Hutts", "privacyMode": "ONLY_WITH" } - }, - "id": "9" + } } } ] diff --git a/test-cases/thread-merge-chat-update-message.binproto b/test-cases/thread-merge-chat-update-message.binproto index a44c315..88c8560 100644 Binary files a/test-cases/thread-merge-chat-update-message.binproto and b/test-cases/thread-merge-chat-update-message.binproto differ diff --git a/test-cases/thread-merge-chat-update-message.jsonproto b/test-cases/thread-merge-chat-update-message.jsonproto index dd70550..b1a71c2 100644 --- a/test-cases/thread-merge-chat-update-message.jsonproto +++ b/test-cases/thread-merge-chat-update-message.jsonproto @@ -46,6 +46,20 @@ { "recipient": { "id": "3", + "distributionList": { + "distributionId": "AAAAAAAAAAAAAAAAAAAAAA==", + "distributionList": { + "allowReplies": true, + "memberRecipientIds": [], + "name": "My Story", + "privacyMode": "ALL" + } + } + } + }, + { + "recipient": { + "id": "4", "contact": { "aci": "X4xWjQEZR72BqruHybcZlQ==", "profileKey": "YtHHVK+Wo4nPcVpWhC3roMEDu2Tw6kYc9JpLRMq1Q94=", @@ -60,12 +74,12 @@ { "chat": { "id": "1", - "recipientId": "3" + "recipientId": "4" } }, { "chatItem": { - "authorId": "3", + "authorId": "4", "chatId": "1", "dateSent": "1", "directionless": {}, diff --git a/test-cases/unregistered-contact.binproto b/test-cases/unregistered-contact.binproto index cf94133..f18e15f 100644 Binary files a/test-cases/unregistered-contact.binproto and b/test-cases/unregistered-contact.binproto differ diff --git a/test-cases/unregistered-contact.jsonproto b/test-cases/unregistered-contact.jsonproto index 5e8971c..b0b983e 100644 --- a/test-cases/unregistered-contact.jsonproto +++ b/test-cases/unregistered-contact.jsonproto @@ -39,6 +39,26 @@ { "recipient": { "id": "2", + "releaseNotes": {} + } + }, + { + "recipient": { + "id": "3", + "distributionList": { + "distributionId": "AAAAAAAAAAAAAAAAAAAAAA==", + "distributionList": { + "allowReplies": true, + "memberRecipientIds": [], + "name": "My Story", + "privacyMode": "ALL" + } + } + } + }, + { + "recipient": { + "id": "4", "contact": { "aci": "QHaZXgUxQEKp5B5np33zWA==", "pni": "JvwCorpYSn2wgZ2iOXFXCg==", @@ -66,7 +86,7 @@ { "chat": { "id": "2", - "recipientId": "2" + "recipientId": "4" } } ]