mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 02:20:39 +00:00
Update account attributes after setting a pin
Ensures that the recovery password gets set immediately. Related to #1447
This commit is contained in:
parent
fc2ae856d2
commit
378ac23c6c
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue