Update account attributes after setting a pin

Ensures that the recovery password gets set immediately.

Related to #1447
This commit is contained in:
AsamK 2024-02-26 18:23:37 +01:00
parent fc2ae856d2
commit 378ac23c6c

View file

@ -500,6 +500,7 @@ public class AccountHelper {
dependencies.getAccountManager().enableRegistrationLock(masterKey); dependencies.getAccountManager().enableRegistrationLock(masterKey);
account.setRegistrationLockPin(pin); account.setRegistrationLockPin(pin);
updateAccountAttributes();
} }
public void removeRegistrationPin() throws IOException { public void removeRegistrationPin() throws IOException {