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 {
|
message AccountRecord {
|
||||||
enum PhoneNumberSharingMode {
|
enum PhoneNumberSharingMode {
|
||||||
EVERYBODY = 0;
|
UNKNOWN = 0;
|
||||||
CONTACTS_ONLY = 1;
|
EVERYBODY = 1;
|
||||||
NOBODY = 2;
|
NOBODY = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1257,7 +1257,7 @@ export async function mergeAccountRecord(
|
||||||
case PHONE_NUMBER_SHARING_MODE_ENUM.EVERYBODY:
|
case PHONE_NUMBER_SHARING_MODE_ENUM.EVERYBODY:
|
||||||
phoneNumberSharingModeToStore = PhoneNumberSharingMode.Everybody;
|
phoneNumberSharingModeToStore = PhoneNumberSharingMode.Everybody;
|
||||||
break;
|
break;
|
||||||
case PHONE_NUMBER_SHARING_MODE_ENUM.CONTACTS_ONLY:
|
case PHONE_NUMBER_SHARING_MODE_ENUM.UNKNOWN:
|
||||||
case PHONE_NUMBER_SHARING_MODE_ENUM.NOBODY:
|
case PHONE_NUMBER_SHARING_MODE_ENUM.NOBODY:
|
||||||
phoneNumberSharingModeToStore = PhoneNumberSharingMode.Nobody;
|
phoneNumberSharingModeToStore = PhoneNumberSharingMode.Nobody;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue