mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-28 05:35:44 +00:00
Fix derivation of RRP in RefreshAttributesJob.
This commit is contained in:
@@ -93,7 +93,7 @@ public class RefreshAttributesJob extends BaseJob {
|
||||
String registrationLockV2 = null;
|
||||
SvrValues svrValues = SignalStore.svr();
|
||||
int pniRegistrationId = RegistrationRepository.getPniRegistrationId();
|
||||
String recoveryPassword = svrValues.getRecoveryPassword();
|
||||
String recoveryPassword = svrValues.hasPin() ? svrValues.getMasterKey().deriveRegistrationRecoveryPassword() : null;
|
||||
|
||||
if (svrValues.isRegistrationLockEnabled()) {
|
||||
registrationLockV2 = svrValues.getRegistrationLockToken();
|
||||
|
||||
Reference in New Issue
Block a user