mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-22 03:48:04 +01:00
Add phone-number-sharing field to versioned profile
Co-authored-by: Katherine <katherine@signal.org>
This commit is contained in:
committed by
GitHub
parent
3b509bf820
commit
9d3d4a3698
@@ -132,6 +132,10 @@ message SetProfileRequest {
|
||||
* A list of badge IDs associated with the profile.
|
||||
*/
|
||||
repeated string badge_ids = 7;
|
||||
/**
|
||||
* The ciphertext of the phone-number sharing setting on the profile. 29-byte encrypted boolean.
|
||||
*/
|
||||
bytes phone_number_sharing = 8;
|
||||
/**
|
||||
* The profile key commitment. Used to issue a profile key credential response.
|
||||
* Must be set on the request.
|
||||
@@ -189,6 +193,10 @@ message GetVersionedProfileResponse {
|
||||
* The ciphertext of the MobileCoin wallet ID on the profile.
|
||||
*/
|
||||
bytes payment_address = 5;
|
||||
/**
|
||||
* The ciphertext of the phone-number sharing setting on the profile.
|
||||
*/
|
||||
bytes phone_number_sharing = 6;
|
||||
}
|
||||
|
||||
message GetUnversionedProfileRequest {
|
||||
|
||||
Reference in New Issue
Block a user