Fix ConversationController load race condition

This commit is contained in:
Evan Hahn 2021-11-04 16:11:47 -05:00 committed by GitHub
parent d6ffb08a63
commit 8256170066
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 127 additions and 106 deletions

View file

@ -43,7 +43,7 @@ describe('Conversations', () => {
deviceName: 'my device',
password: 'password',
});
await window.ConversationController.loadPromise();
await window.ConversationController.load();
await window.Signal.Data.saveConversation(conversation.attributes);