When findUserIdentitiesActionTypes.success is dispatched, an entry for this id may already exist in the store - we may have gotten the user infos from auth keyserver already. We don't want to forget other values of this user info. Namely - avatar and relationshipStatus.
Details
Details
Dispatched findUserIdentitiesActionTypes.success without avatar for an entry that existed in the store and had an avatar. Checked that the updated entry still had the avatar.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Branch
- inka/userStore
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
lib/reducers/user-reducer.js | ||
---|---|---|
258–269 | This can be simplified by iterating over action.payload.userInfos instead of creating an object from it |