From cd3e82c098a5d8827bad1dbb519b81cca37c7b86 Mon Sep 17 00:00:00 2001 From: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Date: Tue, 19 Nov 2024 16:36:53 -0800 Subject: [PATCH] Re-hydrate signal protocol caches after import --- ts/services/backups/import.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ts/services/backups/import.ts b/ts/services/backups/import.ts index 431f4e82386e..e92d02702867 100644 --- a/ts/services/backups/import.ts +++ b/ts/services/backups/import.ts @@ -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