Update storage service enum names
This commit is contained in:
parent
9d1be9228a
commit
252cb2bd2d
2 changed files with 3 additions and 3 deletions
|
@ -130,8 +130,8 @@ message GroupV2Record {
|
|||
|
||||
message AccountRecord {
|
||||
enum PhoneNumberSharingMode {
|
||||
EVERYBODY = 0;
|
||||
CONTACTS_ONLY = 1;
|
||||
UNKNOWN = 0;
|
||||
EVERYBODY = 1;
|
||||
NOBODY = 2;
|
||||
}
|
||||
|
||||
|
|
|
@ -1257,7 +1257,7 @@ export async function mergeAccountRecord(
|
|||
case PHONE_NUMBER_SHARING_MODE_ENUM.EVERYBODY:
|
||||
phoneNumberSharingModeToStore = PhoneNumberSharingMode.Everybody;
|
||||
break;
|
||||
case PHONE_NUMBER_SHARING_MODE_ENUM.CONTACTS_ONLY:
|
||||
case PHONE_NUMBER_SHARING_MODE_ENUM.UNKNOWN:
|
||||
case PHONE_NUMBER_SHARING_MODE_ENUM.NOBODY:
|
||||
phoneNumberSharingModeToStore = PhoneNumberSharingMode.Nobody;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue