mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-25 17:37:57 +00:00
Use protobuf's reserved keyword.
This commit is contained in:
@@ -46,7 +46,7 @@ message CallMessage {
|
||||
enum Type {
|
||||
OFFER_AUDIO_CALL = 0;
|
||||
OFFER_VIDEO_CALL = 1;
|
||||
// 2 is reserved, removed OFFER_NEED_PERMISSION
|
||||
reserved /* OFFER_NEED_PERMISSION */ 2; // removed
|
||||
}
|
||||
|
||||
optional uint64 id = 1;
|
||||
@@ -101,7 +101,7 @@ message CallMessage {
|
||||
repeated IceUpdate iceUpdate = 3;
|
||||
optional Hangup legacyHangup = 4;
|
||||
optional Busy busy = 5;
|
||||
// 6 is reserved.
|
||||
reserved /* profileKey */ 6;
|
||||
optional Hangup hangup = 7;
|
||||
optional bool multiRing = 8;
|
||||
optional uint32 destinationDeviceId = 9;
|
||||
@@ -225,7 +225,7 @@ message DataMessage {
|
||||
message Reaction {
|
||||
optional string emoji = 1;
|
||||
optional bool remove = 2;
|
||||
// optional string targetAuthorE164 = 3;
|
||||
reserved /* targetAuthorE164 */ 3; // removed
|
||||
optional string targetAuthorUuid = 4;
|
||||
optional uint64 targetSentTimestamp = 5;
|
||||
}
|
||||
@@ -367,7 +367,7 @@ message SyncMessage {
|
||||
optional bool readReceipts = 1;
|
||||
optional bool unidentifiedDeliveryIndicators = 2;
|
||||
optional bool typingIndicators = 3;
|
||||
// 4 is reserved (old link preview setting)
|
||||
reserved /* linkPreviews */ 4; // removed
|
||||
optional uint32 provisioningVersion = 5;
|
||||
optional bool linkPreviews = 6;
|
||||
}
|
||||
@@ -470,7 +470,7 @@ message GroupContext {
|
||||
}
|
||||
|
||||
message Member {
|
||||
// 1 is reserved
|
||||
reserved /* uuid */ 1; // removed
|
||||
optional string e164 = 2;
|
||||
}
|
||||
|
||||
@@ -514,7 +514,7 @@ message GroupDetails {
|
||||
}
|
||||
|
||||
message Member {
|
||||
// 1 is reserved
|
||||
reserved /* uuid */ 1; // removed
|
||||
optional string e164 = 2;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user