Page MenuHomePhabricator

D5649.id18690.diff
No OneTemporary

D5649.id18690.diff

diff --git a/native/redux/redux-setup.js b/native/redux/redux-setup.js
--- a/native/redux/redux-setup.js
+++ b/native/redux/redux-setup.js
@@ -350,7 +350,11 @@
state = baseReducerResult.state;
const { storeOperations } = baseReducerResult;
- const { threadStoreOperations, messageStoreOperations } = storeOperations;
+ const {
+ draftStoreOperations,
+ threadStoreOperations,
+ messageStoreOperations,
+ } = storeOperations;
const fixUnreadActiveThreadResult = fixUnreadActiveThread(state, action);
state = fixUnreadActiveThreadResult.state;
@@ -383,6 +387,11 @@
),
);
}
+ if (draftStoreOperations.length > 0) {
+ promises.push(
+ commCoreModule.processDraftStoreOperations(draftStoreOperations),
+ );
+ }
await Promise.all(promises);
} catch (e) {
if (isTaskCancelledError(e)) {

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 29, 8:24 AM (19 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2596416
Default Alt Text
D5649.id18690.diff (888 B)

Event Timeline