destinationServiceId in Sent

This commit is contained in:
Fedor Indutny 2023-06-29 21:17:27 +02:00 committed by GitHub
parent af4ad55c68
commit f90c2b7479
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 322 additions and 104 deletions

View file

@ -457,18 +457,27 @@ message SyncMessage {
message Sent {
message UnidentifiedDeliveryStatus {
optional string destination = 1;
optional string destinationUuid = 3;
oneof destinationServiceId {
string destinationAci = 3;
string destinationPni = 4;
}
optional bool unidentified = 2;
}
message StoryMessageRecipient {
optional string destinationUuid = 1;
oneof destinationServiceId {
string destinationAci = 1;
string destinationPni = 4;
}
repeated string distributionListIds = 2;
optional bool isAllowedToReply = 3;
}
optional string destination = 1;
optional string destinationUuid = 7;
oneof destinationServiceId {
string destinationAci = 7;
string destinationPni = 11;
}
optional uint64 timestamp = 2;
optional DataMessage message = 3;
optional uint64 expirationStartTimestamp = 4;