Page MenuHomePhabricator

D4187.id13400.diff
No OneTemporary

D4187.id13400.diff

diff --git a/lib/reducers/thread-reducer.js b/lib/reducers/thread-reducer.js
--- a/lib/reducers/thread-reducer.js
+++ b/lib/reducers/thread-reducer.js
@@ -249,20 +249,16 @@
threadStoreOperations: [],
};
}
- const {
- threadStoreOperations,
- threadInfos: newThreadInfos,
- } = reduceThreadUpdates(state.threadInfos, action.payload);
- const updatedStore = {
- threadInfos: newThreadInfos,
- };
- const processedStore = processThreadStoreOperations(
+ const { threadStoreOperations } = reduceThreadUpdates(
+ state.threadInfos,
+ action.payload,
+ );
+ const updatedThreadStore = processThreadStoreOperations(
state,
threadStoreOperations,
);
- assertThreadStoreThreadsAreEqual(processedStore, updatedStore, action.type);
return {
- threadStore: updatedStore,
+ threadStore: updatedThreadStore,
newThreadInconsistencies: [],
threadStoreOperations,
};

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 28, 2:29 PM (21 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2594055
Default Alt Text
D4187.id13400.diff (977 B)

Event Timeline