diff --git a/native/data/sqlite-data-handler.js b/native/data/sqlite-data-handler.js --- a/native/data/sqlite-data-handler.js +++ b/native/data/sqlite-data-handler.js @@ -88,11 +88,11 @@ (async () => { await sensitiveDataHandled; try { - const [threads, messages, drafts] = await Promise.all([ - commCoreModule.getAllThreads(), - commCoreModule.getAllMessages(), - commCoreModule.getAllDrafts(), - ]); + const { + threads, + messages, + drafts, + } = await commCoreModule.getClientDBStore(); const threadInfosFromDB = convertClientDBThreadInfosToRawThreadInfos( threads, );