Update dependencies

This commit is contained in:
AsamK 2024-02-01 17:54:26 +01:00
parent 3be1c24b1b
commit 7fb263fdf0
4 changed files with 7 additions and 5 deletions

View file

@ -3,7 +3,7 @@ plugins {
application
eclipse
`check-lib-versions`
id("org.graalvm.buildtools.native") version "0.9.28"
id("org.graalvm.buildtools.native") version "0.10.0"
}
version = "0.12.8-SNAPSHOT"

View file

@ -180,6 +180,7 @@ public class ContactRecordProcessor extends DefaultStorageRecordProcessor<Signal
? local.getSystemFamilyName().orElse("")
: remote.getSystemFamilyName().orElse("");
final var systemNickname = remote.getSystemNickname().orElse("");
final var pniSignatureVerified = remote.isPniSignatureVerified() || local.isPniSignatureVerified();
final var mergedBuilder = new SignalContactRecord.Builder(remote.getId().getRaw(), aci, unknownFields).setE164(
e164)
@ -200,7 +201,8 @@ public class ContactRecordProcessor extends DefaultStorageRecordProcessor<Signal
.setMuteUntil(muteUntil)
.setHideStory(hideStory)
.setUnregisteredTimestamp(unregisteredTimestamp)
.setHidden(hidden);
.setHidden(hidden)
.setPniSignatureVerified(pniSignatureVerified);
final var merged = mergedBuilder.build();
final var matchesRemote = doProtosMatch(merged, remote);

View file

@ -15,8 +15,8 @@ dependencyResolutionManagement {
library("slf4j.jul", "org.slf4j", "jul-to-slf4j").versionRef("slf4j")
library("logback", "ch.qos.logback", "logback-classic").version("1.4.14")
library("signalservice", "com.github.turasa", "signal-service-java").version("2.15.3_unofficial_93")
library("sqlite", "org.xerial", "sqlite-jdbc").version("3.45.0.0")
library("signalservice", "com.github.turasa", "signal-service-java").version("2.15.3_unofficial_94")
library("sqlite", "org.xerial", "sqlite-jdbc").version("3.45.1.0")
library("hikari", "com.zaxxer", "HikariCP").version("5.1.0")
library("junit.jupiter", "org.junit.jupiter", "junit-jupiter").version("5.10.1")
library("junit.launcher", "org.junit.platform", "junit-platform-launcher").version("1.10.1")

View file

@ -5,7 +5,7 @@ public class BaseConfig {
public static final String PROJECT_NAME = BaseConfig.class.getPackage().getImplementationTitle();
public static final String PROJECT_VERSION = BaseConfig.class.getPackage().getImplementationVersion();
static final String USER_AGENT_SIGNAL_ANDROID = "Signal-Android/6.39.1";
static final String USER_AGENT_SIGNAL_ANDROID = "Signal-Android/6.46.0";
static final String USER_AGENT_SIGNAL_CLI = PROJECT_NAME == null
? "signal-cli"
: PROJECT_NAME + "/" + PROJECT_VERSION;