mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-22 03:48:04 +01:00
Convert Device.id from long to byte
This commit is contained in:
@@ -55,7 +55,7 @@ message GetDevicesResponse {
|
||||
/**
|
||||
* The identifier for the device within an account.
|
||||
*/
|
||||
uint64 id = 1;
|
||||
uint32 id = 1;
|
||||
|
||||
/**
|
||||
* A sequence of bytes that encodes an encrypted human-readable name for
|
||||
@@ -86,7 +86,7 @@ message RemoveDeviceRequest {
|
||||
/**
|
||||
* The identifier for the device to remove from the authenticated account.
|
||||
*/
|
||||
uint64 id = 1;
|
||||
uint32 id = 1;
|
||||
}
|
||||
|
||||
message SetDeviceNameRequest {
|
||||
|
||||
@@ -154,7 +154,7 @@ message GetPreKeysRequest {
|
||||
* retrieve pre-keys. If not set, pre-keys are returned for all devices
|
||||
* associated with the targeted account.
|
||||
*/
|
||||
uint64 device_id = 2;
|
||||
uint32 device_id = 2;
|
||||
}
|
||||
|
||||
message GetPreKeysAnonymousRequest {
|
||||
@@ -199,7 +199,7 @@ message GetPreKeysResponse {
|
||||
/**
|
||||
* A map of device IDs to pre-key "bundles" for the targeted account.
|
||||
*/
|
||||
map<uint64, PreKeyBundle> pre_keys = 2;
|
||||
map<uint32, PreKeyBundle> pre_keys = 2;
|
||||
}
|
||||
|
||||
message SetOneTimeEcPreKeysRequest {
|
||||
@@ -276,4 +276,3 @@ message CheckIdentityKeyResponse {
|
||||
*/
|
||||
bytes identity_key = 2;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user