mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Update dependencies
This commit is contained in:
parent
a1b16a9118
commit
a4f7632981
7 changed files with 24 additions and 7 deletions
|
@ -588,7 +588,8 @@ class ManagerImpl implements Manager {
|
|||
quote.message(),
|
||||
List.of(),
|
||||
resolveMentions(quote.mentions()),
|
||||
SignalServiceDataMessage.Quote.Type.NORMAL));
|
||||
SignalServiceDataMessage.Quote.Type.NORMAL,
|
||||
List.of()));
|
||||
}
|
||||
if (message.sticker().isPresent()) {
|
||||
final var sticker = message.sticker().get();
|
||||
|
|
|
@ -71,7 +71,8 @@ class LiveConfig {
|
|||
interceptors,
|
||||
dns,
|
||||
proxy,
|
||||
zkGroupServerPublicParams);
|
||||
zkGroupServerPublicParams,
|
||||
true);
|
||||
}
|
||||
|
||||
static ECPublicKey getUnidentifiedSenderTrustRoot() {
|
||||
|
|
|
@ -40,6 +40,7 @@ public class ServiceConfig {
|
|||
true,
|
||||
true,
|
||||
false,
|
||||
false,
|
||||
false);
|
||||
|
||||
try {
|
||||
|
|
|
@ -71,7 +71,8 @@ class StagingConfig {
|
|||
interceptors,
|
||||
dns,
|
||||
proxy,
|
||||
zkGroupServerPublicParams);
|
||||
zkGroupServerPublicParams,
|
||||
true);
|
||||
}
|
||||
|
||||
static ECPublicKey getUnidentifiedSenderTrustRoot() {
|
||||
|
|
|
@ -25,13 +25,15 @@ public class NumberVerificationUtils {
|
|||
) throws IOException, CaptchaRequiredException, NonNormalizedPhoneNumberException {
|
||||
captcha = captcha == null ? null : captcha.replace("signalcaptcha://", "");
|
||||
final ServiceResponse<RequestVerificationCodeResponse> response;
|
||||
final var locale = Utils.getDefaultLocale(Locale.US);
|
||||
if (voiceVerification) {
|
||||
response = accountManager.requestVoiceVerificationCode(Utils.getDefaultLocale(Locale.US),
|
||||
response = accountManager.requestVoiceVerificationCode(locale,
|
||||
Optional.ofNullable(captcha),
|
||||
Optional.empty(),
|
||||
Optional.empty());
|
||||
} else {
|
||||
response = accountManager.requestSmsVerificationCode(false,
|
||||
response = accountManager.requestSmsVerificationCode(locale,
|
||||
false,
|
||||
Optional.ofNullable(captcha),
|
||||
Optional.empty(),
|
||||
Optional.empty());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue