MessageReceiver: Drop messages with GroupContextV2

This commit is contained in:
Scott Nonnenberg 2020-04-14 11:32:11 -07:00
parent b7d56def82
commit 97a6e01d24
5 changed files with 31 additions and 89 deletions

View file

@ -193,6 +193,7 @@ message DataMessage {
optional string body = 1;
repeated AttachmentPointer attachments = 2;
optional GroupContext group = 3;
optional GroupContextV2 groupV2 = 15;
optional uint32 flags = 4;
optional uint32 expireTimer = 5;
optional bytes profileKey = 6;
@ -371,6 +372,12 @@ message GroupContext {
optional AttachmentPointer avatar = 5;
}
message GroupContextV2 {
optional bytes masterKey = 1;
optional uint32 revision = 2;
optional bytes groupChange = 3;
}
message ContactDetails {
message Avatar {
optional string contentType = 1;