Sync my stories with primary device
This commit is contained in:
parent
7554d8326a
commit
9155784d56
67 changed files with 2954 additions and 1238 deletions
|
@ -335,6 +335,7 @@ message StoryMessage {
|
|||
AttachmentPointer fileAttachment = 3;
|
||||
TextAttachment textAttachment = 4;
|
||||
}
|
||||
optional bool allowsReplies = 5;
|
||||
}
|
||||
|
||||
message TextAttachment {
|
||||
|
@ -386,6 +387,12 @@ message SyncMessage {
|
|||
optional bool unidentified = 2;
|
||||
}
|
||||
|
||||
message StoryMessageRecipient {
|
||||
optional string destinationUuid = 1;
|
||||
repeated string distributionListIds = 2;
|
||||
optional bool isAllowedToReply = 3;
|
||||
}
|
||||
|
||||
optional string destination = 1;
|
||||
optional string destinationUuid = 7;
|
||||
optional uint64 timestamp = 2;
|
||||
|
@ -393,6 +400,8 @@ message SyncMessage {
|
|||
optional uint64 expirationStartTimestamp = 4;
|
||||
repeated UnidentifiedDeliveryStatus unidentifiedStatus = 5;
|
||||
optional bool isRecipientUpdate = 6 [default = false];
|
||||
optional StoryMessage storyMessage = 8;
|
||||
repeated StoryMessageRecipient storyMessageRecipients = 9;
|
||||
}
|
||||
|
||||
message Contacts {
|
||||
|
|
|
@ -39,6 +39,7 @@ message ManifestRecord {
|
|||
GROUPV1 = 2;
|
||||
GROUPV2 = 3;
|
||||
ACCOUNT = 4;
|
||||
STORY_DISTRIBUTION_LIST = 5;
|
||||
}
|
||||
|
||||
optional bytes raw = 1;
|
||||
|
@ -57,6 +58,7 @@ message StorageRecord {
|
|||
GroupV1Record groupV1 = 2;
|
||||
GroupV2Record groupV2 = 3;
|
||||
AccountRecord account = 4;
|
||||
StoryDistributionListRecord storyDistributionList = 5;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -147,3 +149,12 @@ message AccountRecord {
|
|||
optional bool displayBadgesOnProfile = 23;
|
||||
optional bool keepMutedChatsArchived = 25;
|
||||
}
|
||||
|
||||
message StoryDistributionListRecord {
|
||||
optional bytes identifier = 1;
|
||||
optional string name = 2;
|
||||
repeated string recipientUuids = 3;
|
||||
optional uint64 deletedAtTimestamp = 4;
|
||||
optional bool allowsReplies = 5;
|
||||
optional bool isBlockList = 6;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue