Re-hydrate signal protocol caches after import
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
parent
192a68c5dc
commit
c60a554f43
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…
Add table
Add a link
Reference in a new issue