Set discoverable account attribute.

This commit is contained in:
Alan Evans
2020-09-04 16:59:24 -03:00
committed by Cody Henthorne
parent bcd27355f9
commit 43ed9e7310
8 changed files with 45 additions and 14 deletions

View File

@@ -81,6 +81,14 @@ public final class PhoneNumberPrivacyValues extends SignalStoreValues {
*/
public enum PhoneNumberListingMode {
LISTED,
UNLISTED
UNLISTED;
public boolean isDiscoverable() {
return this == LISTED;
}
public boolean isUnlisted() {
return this == UNLISTED;
}
}
}