mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Pair usernames flag with the PNP flag.
This commit is contained in:
committed by
Cody Henthorne
parent
8f06381239
commit
a2415261bd
@@ -55,7 +55,6 @@ public final class FeatureFlags {
|
||||
private static final long FETCH_INTERVAL = TimeUnit.HOURS.toMillis(2);
|
||||
|
||||
private static final String PAYMENTS_KILL_SWITCH = "android.payments.kill";
|
||||
private static final String USERNAMES = "android.usernames";
|
||||
private static final String GROUPS_V2_RECOMMENDED_LIMIT = "global.groupsv2.maxGroupSize";
|
||||
private static final String GROUPS_V2_HARD_LIMIT = "global.groupsv2.groupSizeHardLimit";
|
||||
private static final String GROUP_NAME_MAX_LENGTH = "global.groupsv2.maxNameLength";
|
||||
@@ -117,7 +116,6 @@ public final class FeatureFlags {
|
||||
GROUPS_V2_RECOMMENDED_LIMIT,
|
||||
GROUPS_V2_HARD_LIMIT,
|
||||
INTERNAL_USER,
|
||||
USERNAMES,
|
||||
VERIFY_V2,
|
||||
CLIENT_EXPIRATION,
|
||||
DONATE_MEGAPHONE,
|
||||
@@ -312,7 +310,8 @@ public final class FeatureFlags {
|
||||
|
||||
/** Creating usernames, sending messages by username. */
|
||||
public static synchronized boolean usernames() {
|
||||
return getBoolean(USERNAMES, false);
|
||||
// For now these features are paired, but leaving the separate method in case we decide to separate in the future.
|
||||
return phoneNumberPrivacy();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user