Re-hydrate signal protocol caches after import

This commit is contained in:
Fedor Indutny
2024-11-19 16:36:53 -08:00
committed by GitHub
parent 8cb80f66dc
commit cd3e82c098

View File

@@ -315,6 +315,9 @@ export class BackupImportStream extends Writable {
window.storage.reset();
await window.storage.fetch();
// Load identity keys we just saved.
await window.storage.protocol.hydrateCaches();
const allConversations = window.ConversationController.getAll();
// Update last message in every active conversation now that we have