Persisting cache in PersistentLocalDb

This commit is contained in:
2020-02-06 21:42:17 +01:00
parent 4afe073e79
commit 74715bbf82
4 changed files with 23 additions and 11 deletions

View File

@ -138,7 +138,7 @@ public class Startup {
// Initialize chats in local database
try {
localDb.initializeUserStorage();
localDb.loadChats();
localDb.loadUserData();
} catch (FileNotFoundException e) {
// The local database file has not yet been created, probably first login
} catch (Exception e) {