mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Update libsignal-service-java
This commit is contained in:
parent
d21f9cf029
commit
c134f1b78e
2 changed files with 3 additions and 2 deletions
|
@ -14,7 +14,7 @@ repositories {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
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.fasterxml.jackson.core", "jackson-databind", "2.13.0")
|
||||||
implementation("com.google.protobuf", "protobuf-javalite", "3.11.4")
|
implementation("com.google.protobuf", "protobuf-javalite", "3.11.4")
|
||||||
implementation("org.bouncycastle", "bcprov-jdk15on", "1.70")
|
implementation("org.bouncycastle", "bcprov-jdk15on", "1.70")
|
||||||
|
|
|
@ -171,7 +171,8 @@ public class SignalDependencies {
|
||||||
return getOrCreate(() -> cipher, () -> {
|
return getOrCreate(() -> cipher, () -> {
|
||||||
final var certificateValidator = new CertificateValidator(serviceEnvironmentConfig.getUnidentifiedSenderTrustRoot());
|
final var certificateValidator = new CertificateValidator(serviceEnvironmentConfig.getUnidentifiedSenderTrustRoot());
|
||||||
final var address = new SignalServiceAddress(credentialsProvider.getAci(), credentialsProvider.getE164());
|
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);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue