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

@ -70,7 +70,7 @@ function openInbox(): ThunkAction<
return async dispatch => {
log.info('open inbox');
await window.ConversationController.loadPromise();
await window.ConversationController.load();
dispatch({
type: OPEN_INBOX,