Page MenuHomePhabricator

D5775.id19029.diff
No OneTemporary

D5775.id19029.diff

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,
);

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 9:39 PM (17 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2681955
Default Alt Text
D5775.id19029.diff (705 B)

Event Timeline