Merge pull request #2096 from Bilb/fix-sync-freeze-on-start

make sure to use cached convos for sync logic
pull/2095/head
Audric Ackermann 3 years ago committed by GitHub
commit 28c88f4d3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -50,8 +50,7 @@ export const syncConfigurationIfNeeded = async () => {
return;
}
const allConvoCollection = await getAllConversations();
const allConvos = allConvoCollection.models;
const allConvos = getConversationController().getConversations();
const configMessage = await getCurrentConfigurationMessage(allConvos);
try {

Loading…
Cancel
Save