Page MenuHomePhabricator

[lib] Discard keyserver usernames for updateUserAvatarActionTypes
ClosedPublic

Authored by inka on Jun 20 2024, 7:02 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 14, 6:47 PM
Unknown Object (File)
Thu, Nov 14, 3:55 PM
Unknown Object (File)
Wed, Nov 13, 3:28 AM
Unknown Object (File)
Wed, Nov 13, 3:28 AM
Unknown Object (File)
Fri, Nov 8, 12:21 PM
Unknown Object (File)
Thu, Nov 7, 8:49 AM
Unknown Object (File)
Thu, Nov 7, 8:42 AM
Unknown Object (File)
Fri, Nov 1, 5:39 PM
Subscribers

Details

Summary

issue: ENG-8365

Test Plan

Tested that for updateUserAvatarActionTypes if the user was in the store the username is not changed. Assuming some correctness based on having tested other diffs in this stack

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:18 AM
kamil added inline comments.
lib/reducers/user-reducer.js
579–582 ↗(On Diff #41571)

A bit confusing because this code is doing basically nothing - but it's probably good to leave it to keep it consistent with other call sites

This revision is now accepted and ready to land.Jun 21 2024, 3:34 AM
lib/reducers/user-reducer.js
579–582 ↗(On Diff #41571)

Looking at the code called by updateUserAvatarResponder - updateUserAvatar -> createUserAvatarUpdates -> createUpdates is actually seems like we can get updates for some other users here. So this code could do something. And it doesn't hurt

This revision was landed with ongoing or failed builds.Jun 25 2024, 1:22 AM
This revision was automatically updated to reflect the committed changes.