mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
parent
5904bfa92b
commit
66077f317b
1 changed files with 3 additions and 1 deletions
|
@ -27,7 +27,9 @@ public class ServiceConfig {
|
||||||
|
|
||||||
public static AccountAttributes.Capabilities getCapabilities(boolean isPrimaryDevice) {
|
public static AccountAttributes.Capabilities getCapabilities(boolean isPrimaryDevice) {
|
||||||
final var giftBadges = !isPrimaryDevice;
|
final var giftBadges = !isPrimaryDevice;
|
||||||
return new AccountAttributes.Capabilities(false, true, true, true, true, giftBadges, false, false);
|
final var pni = !isPrimaryDevice;
|
||||||
|
final var paymentActivation = !isPrimaryDevice;
|
||||||
|
return new AccountAttributes.Capabilities(false, true, true, true, true, giftBadges, pni, paymentActivation);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static ServiceEnvironmentConfig getServiceEnvironmentConfig(
|
public static ServiceEnvironmentConfig getServiceEnvironmentConfig(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue