Skip to content

Commit cd3e82c

Browse files
Re-hydrate signal protocol caches after import
1 parent 8cb80f6 commit cd3e82c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ts/services/backups/import.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,9 @@ export class BackupImportStream extends Writable {
315315
window.storage.reset();
316316
await window.storage.fetch();
317317

318+
// Load identity keys we just saved.
319+
await window.storage.protocol.hydrateCaches();
320+
318321
const allConversations = window.ConversationController.getAll();
319322

320323
// Update last message in every active conversation now that we have

0 commit comments

Comments
 (0)