Page MenuHomePhabricator

[lib] Discard keyserver usernames for processServerRequestsActionType
ClosedPublic

Authored by inka on Thu, Jun 20, 6:58 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 27, 6:00 PM
Unknown Object (File)
Thu, Jun 27, 2:36 PM
Unknown Object (File)
Wed, Jun 26, 10:18 PM
Unknown Object (File)
Wed, Jun 26, 5:31 AM
Unknown Object (File)
Tue, Jun 25, 4:22 PM
Unknown Object (File)
Sun, Jun 23, 10:08 AM
Unknown Object (File)
Fri, Jun 21, 1:07 AM
Unknown Object (File)
Fri, Jun 21, 1:07 AM
Subscribers

Details

Summary

issue: ENG-8365

Test Plan

Tested that if processServerRequestsActionType is dispatched with some userInfos in stateChanges and those users are not in the store, the username is set to null

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

inka requested review of this revision.Thu, Jun 20, 7:15 AM
kamil added inline comments.
lib/reducers/user-reducer.js
545

is this spread needed?

This revision is now accepted and ready to land.Fri, Jun 21, 3:28 AM
lib/reducers/user-reducer.js
545

Yes, because convertUserInfosToReplaceUserOps returns a read only array and we want to push to this array in the next lines