Page MenuHomePhabricator

D4198.diff
No OneTemporary

D4198.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
@@ -52,7 +52,7 @@
import { getConfig } from '../utils/config';
import { sanitizeActionSecrets } from '../utils/sanitization';
-function reduceThreadUpdates(
+function generateOpsForThreadUpdates(
threadInfos: { +[id: string]: RawThreadInfo },
payload: {
+updatesResult: { +newUpdates: $ReadOnlyArray<ClientUpdateInfo>, ... },
@@ -226,7 +226,7 @@
threadStoreOperations: [],
};
}
- const threadStoreOperations = reduceThreadUpdates(
+ const threadStoreOperations = generateOpsForThreadUpdates(
state.threadInfos,
action.payload,
);

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 8, 8:16 PM (20 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2445624
Default Alt Text
D4198.diff (743 B)

Event Timeline