-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test case for session switchover chat updates
- Loading branch information
1 parent
3dd7abf
commit e2766e9
Showing
2 changed files
with
79 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
79 changes: 79 additions & 0 deletions
79
test-cases/session-switchover-chat-update-message.jsonproto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
// Includes a "session switchover" chat update message. | ||
[ | ||
{ | ||
"backupTimeMs": "123456", | ||
"version": "1" | ||
}, | ||
{ | ||
"account": { | ||
"profileKey": "YQKRq+3DQklInaOaMcmlzZnN0m/1hzLiaONX7gB12dg=", | ||
"givenName": "Boba", | ||
"familyName": "Fett", | ||
"avatarUrlPath": "", | ||
"accountSettings": { | ||
"readReceipts": false, | ||
"sealedSenderIndicators": true, | ||
"typingIndicators": false, | ||
"linkPreviews": false, | ||
"notDiscoverableByPhoneNumber": false, | ||
"preferContactAvatars": false, | ||
"universalExpireTimerSeconds": 0, | ||
"preferredReactionEmoji": [], | ||
"displayBadgesOnProfile": false, | ||
"keepMutedChatsArchived": false, | ||
"hasSetMyStoriesPrivacy": false, | ||
"hasViewedOnboardingStory": false, | ||
"storiesDisabled": false, | ||
"storyViewReceiptsEnabled": false, | ||
"hasSeenGroupStoryEducationSheet": false, | ||
"hasCompletedUsernameOnboarding": false, | ||
"phoneNumberSharingMode": "NOBODY" | ||
} | ||
} | ||
}, | ||
{ | ||
"recipient": { | ||
"id": "1", | ||
"self": {} | ||
} | ||
}, | ||
{ | ||
"recipient": { | ||
"id": "2", | ||
"releaseNotes": {} | ||
} | ||
}, | ||
{ | ||
"recipient": { | ||
"id": "3", | ||
"contact": { | ||
"aci": "X4xWjQEZR72BqruHybcZlQ==", | ||
"profileKey": "YtHHVK+Wo4nPcVpWhC3roMEDu2Tw6kYc9JpLRMq1Q94=", | ||
"profileSharing": true, | ||
"profileFamilyName": "Solo", | ||
"profileGivenName": "Han", | ||
"registered": {}, | ||
"hideStory": false, | ||
} | ||
} | ||
}, | ||
{ | ||
"chat": { | ||
"id": "1", | ||
"recipientId": "3" | ||
} | ||
}, | ||
{ | ||
"chatItem": { | ||
"authorId": "3", | ||
"chatId": "1", | ||
"dateSent": "1", | ||
"directionless": {}, | ||
"updateMessage": { | ||
"sessionSwitchover": { | ||
"e164": 17735550199 | ||
} | ||
} | ||
} | ||
}, | ||
] |