mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01: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:
parent
ae043bf239
commit
ad58799269
1 changed files with 14 additions and 0 deletions
|
@ -71,6 +71,19 @@ message DataMessage {
|
|||
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;
|
||||
repeated AttachmentPointer attachments = 2;
|
||||
optional GroupContext group = 3;
|
||||
|
@ -78,6 +91,7 @@ message DataMessage {
|
|||
optional uint32 expireTimer = 5;
|
||||
optional bytes profileKey = 6;
|
||||
optional uint64 timestamp = 7;
|
||||
optional Quote quote = 8;
|
||||
}
|
||||
|
||||
message NullMessage {
|
||||
|
|
Loading…
Reference in a new issue