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 @@ -245,7 +245,19 @@ ...newInconsistencies, ], }; + } else if (action.type === updateUserAvatarActionTypes.success) { + const newUserInfos = _keyBy(userInfo => userInfo.id)( + action.payload.updates.userInfos, + ); + const updated = { ...state.userInfos, ...newUserInfos }; + return !_isEqual(state.userInfos)(updated) + ? { + ...state, + userInfos: updated, + } + : state; } + return state; }