Page MenuHomePhabricator

[lib] Discard keyserver usernames for processServerRequestsActionType
ClosedPublic

Authored by inka on Jun 20 2024, 6:58 AM.
Tags
None
Referenced Files
F3299847: D12513.id.diff
Sun, Nov 17, 4:00 PM
Unknown Object (File)
Fri, Nov 1, 5:39 PM
Unknown Object (File)
Thu, Oct 24, 7:46 AM
Unknown Object (File)
Oct 13 2024, 2:11 AM
Unknown Object (File)
Oct 13 2024, 2:11 AM
Unknown Object (File)
Oct 13 2024, 2:11 AM
Unknown Object (File)
Oct 13 2024, 2:11 AM
Unknown Object (File)
Sep 28 2024, 7:35 PM
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
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

inka requested review of this revision.Jun 20 2024, 7:15 AM
kamil added inline comments.
lib/reducers/user-reducer.js
545 ↗(On Diff #41570)

is this spread needed?

This revision is now accepted and ready to land.Jun 21 2024, 3:28 AM
lib/reducers/user-reducer.js
545 ↗(On Diff #41570)

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