Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3356175
D4198.id13429.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
743 B
Referenced Files
None
Subscribers
None
D4198.id13429.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 5:17 PM (21 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2576583
Default Alt Text
D4198.id13429.diff (743 B)
Attached To
Mode
D4198: [lib] Rename `reduceThreadUpdates` => `generateOpsForThreadUpdates`
Attached
Detach File
Event Timeline
Log In to Comment