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:
@@ -44,9 +44,9 @@ message Content {
|
|||||||
message CallMessage {
|
message CallMessage {
|
||||||
message Offer {
|
message Offer {
|
||||||
enum Type {
|
enum Type {
|
||||||
OFFER_AUDIO_CALL = 0;
|
OFFER_AUDIO_CALL = 0;
|
||||||
OFFER_VIDEO_CALL = 1;
|
OFFER_VIDEO_CALL = 1;
|
||||||
// 2 is reserved, removed OFFER_NEED_PERMISSION
|
reserved /* OFFER_NEED_PERMISSION */ 2; // removed
|
||||||
}
|
}
|
||||||
|
|
||||||
optional uint64 id = 1;
|
optional uint64 id = 1;
|
||||||
@@ -101,7 +101,7 @@ message CallMessage {
|
|||||||
repeated IceUpdate iceUpdate = 3;
|
repeated IceUpdate iceUpdate = 3;
|
||||||
optional Hangup legacyHangup = 4;
|
optional Hangup legacyHangup = 4;
|
||||||
optional Busy busy = 5;
|
optional Busy busy = 5;
|
||||||
// 6 is reserved.
|
reserved /* profileKey */ 6;
|
||||||
optional Hangup hangup = 7;
|
optional Hangup hangup = 7;
|
||||||
optional bool multiRing = 8;
|
optional bool multiRing = 8;
|
||||||
optional uint32 destinationDeviceId = 9;
|
optional uint32 destinationDeviceId = 9;
|
||||||
@@ -225,7 +225,7 @@ message DataMessage {
|
|||||||
message Reaction {
|
message Reaction {
|
||||||
optional string emoji = 1;
|
optional string emoji = 1;
|
||||||
optional bool remove = 2;
|
optional bool remove = 2;
|
||||||
// optional string targetAuthorE164 = 3;
|
reserved /* targetAuthorE164 */ 3; // removed
|
||||||
optional string targetAuthorUuid = 4;
|
optional string targetAuthorUuid = 4;
|
||||||
optional uint64 targetSentTimestamp = 5;
|
optional uint64 targetSentTimestamp = 5;
|
||||||
}
|
}
|
||||||
@@ -367,7 +367,7 @@ message SyncMessage {
|
|||||||
optional bool readReceipts = 1;
|
optional bool readReceipts = 1;
|
||||||
optional bool unidentifiedDeliveryIndicators = 2;
|
optional bool unidentifiedDeliveryIndicators = 2;
|
||||||
optional bool typingIndicators = 3;
|
optional bool typingIndicators = 3;
|
||||||
// 4 is reserved (old link preview setting)
|
reserved /* linkPreviews */ 4; // removed
|
||||||
optional uint32 provisioningVersion = 5;
|
optional uint32 provisioningVersion = 5;
|
||||||
optional bool linkPreviews = 6;
|
optional bool linkPreviews = 6;
|
||||||
}
|
}
|
||||||
@@ -470,8 +470,8 @@ message GroupContext {
|
|||||||
}
|
}
|
||||||
|
|
||||||
message Member {
|
message Member {
|
||||||
// 1 is reserved
|
reserved /* uuid */ 1; // removed
|
||||||
optional string e164 = 2;
|
optional string e164 = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
optional bytes id = 1;
|
optional bytes id = 1;
|
||||||
@@ -514,8 +514,8 @@ message GroupDetails {
|
|||||||
}
|
}
|
||||||
|
|
||||||
message Member {
|
message Member {
|
||||||
// 1 is reserved
|
reserved /* uuid */ 1; // removed
|
||||||
optional string e164 = 2;
|
optional string e164 = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
optional bytes id = 1;
|
optional bytes id = 1;
|
||||||
|
Reference in New Issue
Block a user