mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Protos: Put avatar in each message type like iOS/Android
FREEBIE
This commit is contained in:
@@ -163,12 +163,12 @@ message GroupContext {
|
|||||||
optional AttachmentPointer avatar = 5;
|
optional AttachmentPointer avatar = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message GroupDetails {
|
||||||
message Avatar {
|
message Avatar {
|
||||||
optional string contentType = 1;
|
optional string contentType = 1;
|
||||||
optional uint32 length = 2;
|
optional uint32 length = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
message GroupDetails {
|
|
||||||
optional bytes id = 1;
|
optional bytes id = 1;
|
||||||
optional string name = 2;
|
optional string name = 2;
|
||||||
repeated string members = 3;
|
repeated string members = 3;
|
||||||
@@ -177,6 +177,11 @@ message GroupDetails {
|
|||||||
}
|
}
|
||||||
|
|
||||||
message ContactDetails {
|
message ContactDetails {
|
||||||
|
message Avatar {
|
||||||
|
optional string contentType = 1;
|
||||||
|
optional uint32 length = 2;
|
||||||
|
}
|
||||||
|
|
||||||
optional string number = 1;
|
optional string number = 1;
|
||||||
optional string name = 2;
|
optional string name = 2;
|
||||||
optional Avatar avatar = 3;
|
optional Avatar avatar = 3;
|
||||||
|
|||||||
Reference in New Issue
Block a user