mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-21 06:38:04 +01:00
Remove stale pni, pnp, and giftBadges capabilities
This commit is contained in:
@@ -7,14 +7,9 @@ package org.whispersystems.textsecuregcm.entities;
|
||||
|
||||
public record UserCapabilities(
|
||||
// TODO: Remove the paymentActivation capability entirely sometime soon after 2024-06-30
|
||||
boolean paymentActivation,
|
||||
// TODO Remove the PNI and PNP capabilities entirely on or after 2024-05-18
|
||||
boolean pni,
|
||||
boolean pnp,
|
||||
// TODO Remove the giftBadges capability on or after 2024-05-26
|
||||
boolean giftBadges) {
|
||||
boolean paymentActivation) {
|
||||
|
||||
public UserCapabilities() {
|
||||
this(true, true, true, true);
|
||||
this(true);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -83,7 +83,6 @@ public class ProfileGrpcHelper {
|
||||
static UserCapabilities buildUserCapabilities(final org.whispersystems.textsecuregcm.entities.UserCapabilities capabilities) {
|
||||
return UserCapabilities.newBuilder()
|
||||
.setPaymentActivation(capabilities.paymentActivation())
|
||||
.setPni(capabilities.pni())
|
||||
.build();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user