Add phone-number-sharing field to versioned profile

Co-authored-by: Katherine <katherine@signal.org>
This commit is contained in:
Jonathan Klabunde Tomer
2023-12-19 11:20:04 -08:00
committed by GitHub
parent 3b509bf820
commit 9d3d4a3698
12 changed files with 197 additions and 137 deletions

View File

@@ -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 {