Page MenuHomePhabricator

D9799.diff
No OneTemporary

D9799.diff

diff --git a/lib/reducers/user-reducer.js b/lib/reducers/user-reducer.js
--- a/lib/reducers/user-reducer.js
+++ b/lib/reducers/user-reducer.js
@@ -298,7 +298,17 @@
const newUserInfos = _keyBy(userInfo => userInfo.id)(
action.payload.updates.userInfos,
);
- const updated = { ...state.userInfos, ...newUserInfos };
+ const processedUserInfos: UserInfos = processUserStoreOps(
+ state.userInfos,
+ convertUserInfosToReplaceUserOps(newUserInfos),
+ );
+ const updated: UserInfos = { ...state.userInfos, ...newUserInfos };
+ assertUserStoresAreEqual(
+ processedUserInfos,
+ updated,
+ action.type,
+ onStateDifference,
+ );
const newState = !_isEqual(state.userInfos)(updated)
? {
...state,

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 8, 11:09 PM (21 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2446711
Default Alt Text
D9799.diff (777 B)

Event Timeline