Update dependencies

This commit is contained in:
AsamK 2023-01-27 21:26:00 +01:00
parent a1b16a9118
commit a4f7632981
7 changed files with 24 additions and 7 deletions

View file

@ -2756,6 +2756,16 @@
{"name":"width_"}
]
},
{
"name":"org.whispersystems.signalservice.internal.push.SignalServiceProtos$BodyRange",
"fields":[
{"name":"associatedValueCase_"},
{"name":"associatedValue_"},
{"name":"bitField0_"},
{"name":"length_"},
{"name":"start_"}
]
},
{
"name":"org.whispersystems.signalservice.internal.push.SignalServiceProtos$CallMessage",
"fields":[
@ -3190,6 +3200,7 @@
"fields":[
{"name":"bitField0_"},
{"name":"blocked_"},
{"name":"callEvent_"},
{"name":"configuration_"},
{"name":"contacts_"},
{"name":"fetchLatest_"},

View file

@ -14,7 +14,7 @@ repositories {
}
dependencies {
implementation("com.github.turasa", "signal-service-java", "2.15.3_unofficial_65")
implementation("com.github.turasa", "signal-service-java", "2.15.3_unofficial_66")
implementation("com.fasterxml.jackson.core", "jackson-databind", "2.14.1")
implementation("com.google.protobuf", "protobuf-javalite", "3.21.12")
implementation("org.bouncycastle", "bcprov-jdk15on", "1.70")
@ -22,7 +22,7 @@ dependencies {
implementation("org.xerial", "sqlite-jdbc", "3.40.0.0")
implementation("com.zaxxer", "HikariCP", "5.0.1")
testImplementation("org.junit.jupiter", "junit-jupiter", "5.9.1")
testImplementation("org.junit.jupiter", "junit-jupiter", "5.9.2")
}
tasks.named<Test>("test") {

View file

@ -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();

View file

@ -71,7 +71,8 @@ class LiveConfig {
interceptors,
dns,
proxy,
zkGroupServerPublicParams);
zkGroupServerPublicParams,
true);
}
static ECPublicKey getUnidentifiedSenderTrustRoot() {

View file

@ -40,6 +40,7 @@ public class ServiceConfig {
true,
true,
false,
false,
false);
try {

View file

@ -71,7 +71,8 @@ class StagingConfig {
interceptors,
dns,
proxy,
zkGroupServerPublicParams);
zkGroupServerPublicParams,
true);
}
static ECPublicKey getUnidentifiedSenderTrustRoot() {

View file

@ -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());