From 12576daf1faf00eb04b63d9a96dccfea20e82c5c Mon Sep 17 00:00:00 2001 From: Jon Chambers Date: Wed, 26 Mar 2025 11:23:38 -0400 Subject: [PATCH] Retire the (long-unused!) `KEY_EXCHANGE` envelope type --- service/src/main/proto/TextSecure.proto | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/src/main/proto/TextSecure.proto b/service/src/main/proto/TextSecure.proto index 847cec476..9ad7cf127 100644 --- a/service/src/main/proto/TextSecure.proto +++ b/service/src/main/proto/TextSecure.proto @@ -11,13 +11,13 @@ option java_outer_classname = "MessageProtos"; message Envelope { enum Type { + reserved 2, 7; + UNKNOWN = 0; CIPHERTEXT = 1; - KEY_EXCHANGE = 2; PREKEY_BUNDLE = 3; SERVER_DELIVERY_RECEIPT = 5; UNIDENTIFIED_SENDER = 6; - reserved 7; PLAINTEXT_CONTENT = 8; // for decryption error receipts }