Page MenuHomePhabricator

[lib] Discard keyserver usernames for full state sync
ClosedPublic

Authored by inka on Jun 20 2024, 4:34 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 16, 7:49 PM
Unknown Object (File)
Fri, Nov 1, 5:39 PM
Unknown Object (File)
Oct 16 2024, 2:20 PM
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 24 2024, 1:54 AM
Subscribers

Details

Summary

issue: ENG-8365

Test Plan

Checked that if users are not present in the store, their user infos are added without usernames. Checked that if they are present, their usernames don't change

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

inka requested review of this revision.Jun 20 2024, 4:57 AM
This revision is now accepted and ready to land.Jun 21 2024, 3:25 AM

What happens if the client first becomes aware of a particular user in fullStateSyncActionType? Will we commit the ID and avatar to UserStore (but not the username), and then later fetch the username from identity?

I spoke to @inka about this in a 1:1 and they confirmed my assessment above.