mirror of
https://github.com/AsamK/signal-cli.git
synced 2026-04-23 09:10:59 +00:00
Initialize database before registering
This commit is contained in:
parent
790b7f1a2f
commit
41bff4a0a7
@ -169,6 +169,7 @@ public class SignalAccountFiles {
|
||||
pniIdentityKey,
|
||||
profileKey,
|
||||
settings);
|
||||
account.initDatabase();
|
||||
|
||||
return new RegistrationManagerImpl(account,
|
||||
pathConfig,
|
||||
@ -183,6 +184,7 @@ public class SignalAccountFiles {
|
||||
account.close();
|
||||
throw new IOException("Number in account file doesn't match expected number: " + account.getNumber());
|
||||
}
|
||||
account.initDatabase();
|
||||
|
||||
return new RegistrationManagerImpl(account,
|
||||
pathConfig,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user