Protos: Add support for synchronizing verification of contacts

FREEBIE
This commit is contained in:
Scott Nonnenberg 2017-06-08 16:00:41 -07:00
parent 0eacb8780a
commit b940988da5
1 changed files with 20 additions and 6 deletions

View File

@ -111,12 +111,26 @@ message SyncMessage {
optional uint64 timestamp = 2;
}
optional Sent sent = 1;
optional Contacts contacts = 2;
optional Groups groups = 3;
optional Request request = 4;
repeated Read read = 5;
optional Blocked blocked = 6;
message Verification {
enum State {
DEFAULT = 0;
VERIFIED = 1;
NO_LONGER_VERIFIED = 2;
}
optional State state = 1;
// The e164 phone number of the user.
optional string destination = 2;
optional bytes identityKey = 3;
}
optional Sent sent = 1;
optional Contacts contacts = 2;
optional Groups groups = 3;
optional Request request = 4;
repeated Read read = 5;
optional Blocked blocked = 6;
repeated Verification verification = 7;
}
message AttachmentPointer {