Use a phased enrollment strategy for the pnp compatibility flag

This commit is contained in:
Jon Chambers
2024-02-18 17:21:11 -05:00
committed by Jon Chambers
parent 11e6ff1bbe
commit 3e12a8780d
7 changed files with 31 additions and 21 deletions

View File

@@ -105,7 +105,7 @@ public class ProfileGrpcHelper {
final ProfileBadgeConverter profileBadgeConverter) {
final GetUnversionedProfileResponse.Builder responseBuilder = GetUnversionedProfileResponse.newBuilder()
.setIdentityKey(ByteString.copyFrom(targetAccount.getIdentityKey(targetIdentifier.identityType()).serialize()))
.setCapabilities(buildUserCapabilities(org.whispersystems.textsecuregcm.entities.UserCapabilities.createForAccount(targetAccount)));
.setCapabilities(buildUserCapabilities(org.whispersystems.textsecuregcm.entities.UserCapabilities.createForAccount(targetAccount, true)));
switch (targetIdentifier.identityType()) {
case ACI -> {