change FRIEND_REQUEST value to prevent clash with upstream

pull/30/head
sachaaaaa 7 years ago
parent 7887786b00
commit c605fff58d

@ -32,7 +32,7 @@
ivAndCiphertext.set(new Uint8Array(ciphertext), iv.byteLength);
return {
type: 6, // friend request
type: textsecure.protobuf.Envelope.Type.FRIEND_REQUEST, // friend request
body: ivAndCiphertext,
registrationId: null,
};

@ -12,7 +12,7 @@ message Envelope {
PREKEY_BUNDLE = 3;
RECEIPT = 5;
UNIDENTIFIED_SENDER = 6;
FRIEND_REQUEST = 7; // contains prekeys + message and is using simple encryption
FRIEND_REQUEST = 101; // contains prekeys + message and is using simple encryption
}
optional Type type = 1;

Loading…
Cancel
Save