Re-hydrate signal protocol caches after import
This commit is contained in:
parent
8cb80f66dc
commit
cd3e82c098
1 changed files with 3 additions and 0 deletions
|
@ -315,6 +315,9 @@ export class BackupImportStream extends Writable {
|
||||||
window.storage.reset();
|
window.storage.reset();
|
||||||
await window.storage.fetch();
|
await window.storage.fetch();
|
||||||
|
|
||||||
|
// Load identity keys we just saved.
|
||||||
|
await window.storage.protocol.hydrateCaches();
|
||||||
|
|
||||||
const allConversations = window.ConversationController.getAll();
|
const allConversations = window.ConversationController.getAll();
|
||||||
|
|
||||||
// Update last message in every active conversation now that we have
|
// Update last message in every active conversation now that we have
|
||||||
|
|
Loading…
Reference in a new issue