From 115431a486e98abb82ca21ae4338611965c46dbb Mon Sep 17 00:00:00 2001 From: Katherine Date: Fri, 3 Nov 2023 11:27:34 -0700 Subject: [PATCH] Un-hardcode payment activation flag --- .../textsecuregcm/entities/UserCapabilities.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/UserCapabilities.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/UserCapabilities.java index cb0f1f133..bf42c103f 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/UserCapabilities.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/UserCapabilities.java @@ -39,8 +39,7 @@ public record UserCapabilities( true, true, - // Hardcode payment activation flag to false until all clients support the flow - false, + account.isPaymentActivationSupported(), // Although originally intended to indicate that clients support phone number identifiers, the scope of this // flag has expanded to cover phone number privacy in general