kopia lustrzana https://github.com/ryukoposting/Signal-Android
Use protobuf's reserved keyword.
rodzic
e57a35ab3e
commit
3aebadd90d
|
@ -46,7 +46,7 @@ message CallMessage {
|
||||||
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,7 +470,7 @@ message GroupContext {
|
||||||
}
|
}
|
||||||
|
|
||||||
message Member {
|
message Member {
|
||||||
// 1 is reserved
|
reserved /* uuid */ 1; // removed
|
||||||
optional string e164 = 2;
|
optional string e164 = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -514,7 +514,7 @@ message GroupDetails {
|
||||||
}
|
}
|
||||||
|
|
||||||
message Member {
|
message Member {
|
||||||
// 1 is reserved
|
reserved /* uuid */ 1; // removed
|
||||||
optional string e164 = 2;
|
optional string e164 = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue