Add SyncMessageContext

The sync field on a push message content indicates that this is a sync
message from a master or sibling device and what conversation it belongs
to.
This commit is contained in:
lilia 2015-02-12 17:42:07 -08:00
parent 148410a826
commit 104b49c371

View file

@ -44,12 +44,18 @@ message PushMessageContent {
optional AttachmentPointer avatar = 5;
}
message SyncMessageContext {
optional string destination = 1;
optional uint64 timestamp = 2;
}
enum Flags {
END_SESSION = 1;
}
optional string body = 1;
repeated AttachmentPointer attachments = 2;
optional GroupContext group = 3;
optional uint32 flags = 4;
optional string body = 1;
repeated AttachmentPointer attachments = 2;
optional GroupContext group = 3;
optional uint32 flags = 4;
optional SyncMessageContext sync = 5;
}