Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3714713
D9913.id33345.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D9913.id33345.diff
View Options
diff --git a/native/redux/redux-utils.js b/native/redux/redux-utils.js
--- a/native/redux/redux-utils.js
+++ b/native/redux/redux-utils.js
@@ -5,6 +5,7 @@
import { messageStoreOpsHandlers } from 'lib/ops/message-store-ops.js';
import { reportStoreOpsHandlers } from 'lib/ops/report-store-ops.js';
import { threadStoreOpsHandlers } from 'lib/ops/thread-store-ops.js';
+import { userStoreOpsHandlers } from 'lib/ops/user-store-ops.js';
import type { StoreOperations } from 'lib/types/store-ops-types.js';
import type { AppState } from './state-types.js';
@@ -26,6 +27,7 @@
threadStoreOperations,
messageStoreOperations,
reportStoreOperations,
+ userStoreOperations,
} = storeOperations;
const convertedThreadStoreOperations =
@@ -34,6 +36,8 @@
messageStoreOpsHandlers.convertOpsToClientDBOps(messageStoreOperations);
const convertedReportStoreOperations =
reportStoreOpsHandlers.convertOpsToClientDBOps(reportStoreOperations);
+ const convertedUserStoreOperations =
+ userStoreOpsHandlers.convertOpsToClientDBOps(userStoreOperations);
try {
const promises = [];
@@ -63,6 +67,11 @@
),
);
}
+ if (convertedUserStoreOperations.length > 0) {
+ promises.push(
+ commCoreModule.processUserStoreOperations(convertedUserStoreOperations),
+ );
+ }
await Promise.all(promises);
} catch (e) {
if (isTaskCancelledError(e)) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 9, 8:39 AM (9 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2816887
Default Alt Text
D9913.id33345.diff (1 KB)
Attached To
Mode
D9913: [native] start processing user store ops on SQLite
Attached
Detach File
Event Timeline
Log In to Comment