mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 10:20:25 +01:00
Set discoverable account attribute.
This commit is contained in:
committed by
Cody Henthorne
parent
bcd27355f9
commit
43ed9e7310
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user