Page MenuHomePhabricator

D9913.id33345.diff
No OneTemporary

D9913.id33345.diff

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

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)

Event Timeline