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

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