Remove non-existant device messages

This commit is contained in:
Matt Corallo
2015-02-25 17:43:04 -08:00
committed by lilia
parent 5abf3073d5
commit 2277b41639
4 changed files with 6 additions and 62 deletions
-16
View File
@@ -15,19 +15,3 @@ message ProvisionMessage {
optional string number = 3;
optional string provisioningCode = 4;
}
message DeviceControl {
enum Type {
UNKNOWN = 0;
NEW_DEVICE_REGISTERED = 1; // Requries only newDeviceId
SENT_MESSAGE = 2; // Requires only message
}
message MessageSent {
required string otherNumber = 1; // The destination account (ie phone #), not device
required uint64 timestamp = 2;
required bytes message = 3; // PushMessageContent
}
required Type type = 1;
optional uint32 newDeviceId = 2;
optional MessageSent message = 3;
}
+6 -8
View File
@@ -5,14 +5,12 @@ option java_outer_classname = "PushMessageProtos";
message IncomingPushMessageSignal {
enum Type {
UNKNOWN = 0;
CIPHERTEXT = 1;
KEY_EXCHANGE = 2;
PREKEY_BUNDLE = 3;
PLAINTEXT = 4;
RECEIPT = 5;
PREKEY_BUNDLE_DEVICE_CONTROL = 6;
DEVICE_CONTROL = 7;
UNKNOWN = 0;
CIPHERTEXT = 1;
KEY_EXCHANGE = 2;
PREKEY_BUNDLE = 3;
PLAINTEXT = 4;
RECEIPT = 5;
}
optional Type type = 1;
optional string source = 2;