Move protocol protobufs to libaxolotl/, handling DeviceControl
This commit is contained in:
parent
66cf5b08db
commit
184b1ec89c
8 changed files with 102 additions and 67 deletions
|
@ -5,12 +5,14 @@ option java_outer_classname = "PushMessageProtos";
|
|||
|
||||
message IncomingPushMessageSignal {
|
||||
enum Type {
|
||||
UNKNOWN = 0;
|
||||
CIPHERTEXT = 1;
|
||||
KEY_EXCHANGE = 2;
|
||||
PREKEY_BUNDLE = 3;
|
||||
PLAINTEXT = 4;
|
||||
RECEIPT = 5;
|
||||
UNKNOWN = 0;
|
||||
CIPHERTEXT = 1;
|
||||
KEY_EXCHANGE = 2;
|
||||
PREKEY_BUNDLE = 3;
|
||||
PLAINTEXT = 4;
|
||||
RECEIPT = 5;
|
||||
PREKEY_BUNDLE_DEVICE_CONTROL = 6;
|
||||
DEVICE_CONTROL = 7;
|
||||
}
|
||||
optional Type type = 1;
|
||||
optional string source = 2;
|
||||
|
@ -50,4 +52,4 @@ message PushMessageContent {
|
|||
repeated AttachmentPointer attachments = 2;
|
||||
optional GroupContext group = 3;
|
||||
optional uint32 flags = 4;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue