diff --git a/lib/src/main/java/org/asamk/signal/manager/SignalAccountFiles.java b/lib/src/main/java/org/asamk/signal/manager/SignalAccountFiles.java index ef160621..03c44013 100644 --- a/lib/src/main/java/org/asamk/signal/manager/SignalAccountFiles.java +++ b/lib/src/main/java/org/asamk/signal/manager/SignalAccountFiles.java @@ -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,