From 3d65581c30ea4af4caa63e8e3904ab0a5b07d64e Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Fri, 9 Jun 2017 14:58:55 -0700 Subject: [PATCH] Protos: Put avatar in each message type like iOS/Android FREEBIE --- protos/IncomingPushMessageSignal.proto | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/protos/IncomingPushMessageSignal.proto b/protos/IncomingPushMessageSignal.proto index 9566133d2..f0a247107 100644 --- a/protos/IncomingPushMessageSignal.proto +++ b/protos/IncomingPushMessageSignal.proto @@ -163,12 +163,12 @@ message GroupContext { optional AttachmentPointer avatar = 5; } -message Avatar { - optional string contentType = 1; - optional uint32 length = 2; -} - message GroupDetails { + message Avatar { + optional string contentType = 1; + optional uint32 length = 2; + } + optional bytes id = 1; optional string name = 2; repeated string members = 3; @@ -177,6 +177,11 @@ message GroupDetails { } message ContactDetails { + message Avatar { + optional string contentType = 1; + optional uint32 length = 2; + } + optional string number = 1; optional string name = 2; optional Avatar avatar = 3;