mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 17:38:04 +01:00
Retire the pni device capability
This commit is contained in:
committed by
Jon Chambers
parent
dcdf401f64
commit
5ff092e541
@@ -7,7 +7,9 @@ package org.whispersystems.textsecuregcm.entities;
|
||||
|
||||
import org.whispersystems.textsecuregcm.storage.Account;
|
||||
|
||||
public record UserCapabilities(boolean paymentActivation, boolean pni) {
|
||||
public record UserCapabilities(boolean paymentActivation,
|
||||
// TODO Remove the PNI capability entirely on or after 2024-05-14
|
||||
boolean pni) {
|
||||
|
||||
public static UserCapabilities createForAccount(final Account account) {
|
||||
return new UserCapabilities(account.isPaymentActivationSupported(), true);
|
||||
|
||||
Reference in New Issue
Block a user