Update libsignal-service-java

This commit is contained in:
AsamK 2021-12-20 14:37:41 +01:00
parent d21f9cf029
commit c134f1b78e
2 changed files with 3 additions and 2 deletions

View file

@ -14,7 +14,7 @@ repositories {
}
dependencies {
implementation("com.github.turasa", "signal-service-java", "2.15.3_unofficial_35")
implementation("com.github.turasa", "signal-service-java", "2.15.3_unofficial_36")
implementation("com.fasterxml.jackson.core", "jackson-databind", "2.13.0")
implementation("com.google.protobuf", "protobuf-javalite", "3.11.4")
implementation("org.bouncycastle", "bcprov-jdk15on", "1.70")

View file

@ -171,7 +171,8 @@ public class SignalDependencies {
return getOrCreate(() -> cipher, () -> {
final var certificateValidator = new CertificateValidator(serviceEnvironmentConfig.getUnidentifiedSenderTrustRoot());
final var address = new SignalServiceAddress(credentialsProvider.getAci(), credentialsProvider.getE164());
cipher = new SignalServiceCipher(address, dataStore, sessionLock, certificateValidator);
final var deviceId = credentialsProvider.getDeviceId();
cipher = new SignalServiceCipher(address, deviceId, dataStore, sessionLock, certificateValidator);
});
}