mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-20 02:08:57 +00:00
Update protos to reflect recent quotation-related updates
Updating to be current with these two comments in libsignal-service-java2e4aa84896 (diff-c525e47fbed26da2110c8a7c37a37031)4f07b9e85e (diff-c525e47fbed26da2110c8a7c37a37031)
This commit is contained in:
@@ -71,6 +71,19 @@ message DataMessage {
|
|||||||
PROFILE_KEY_UPDATE = 4;
|
PROFILE_KEY_UPDATE = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message Quote {
|
||||||
|
message QuotedAttachment {
|
||||||
|
optional string contentType = 1;
|
||||||
|
optional string fileName = 2;
|
||||||
|
optional AttachmentPointer thumbnail = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint64 id = 1;
|
||||||
|
optional string author = 2;
|
||||||
|
optional string text = 3;
|
||||||
|
repeated QuotedAttachment attachments = 4;
|
||||||
|
}
|
||||||
|
|
||||||
optional string body = 1;
|
optional string body = 1;
|
||||||
repeated AttachmentPointer attachments = 2;
|
repeated AttachmentPointer attachments = 2;
|
||||||
optional GroupContext group = 3;
|
optional GroupContext group = 3;
|
||||||
@@ -78,6 +91,7 @@ message DataMessage {
|
|||||||
optional uint32 expireTimer = 5;
|
optional uint32 expireTimer = 5;
|
||||||
optional bytes profileKey = 6;
|
optional bytes profileKey = 6;
|
||||||
optional uint64 timestamp = 7;
|
optional uint64 timestamp = 7;
|
||||||
|
optional Quote quote = 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
message NullMessage {
|
message NullMessage {
|
||||||
|
|||||||
Reference in New Issue
Block a user