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)
Wed, Apr 16, 3:56 PM
Unknown Object (File)
Wed, Apr 16, 12:10 PM
Unknown Object (File)
Tue, Apr 15, 11:09 PM
Unknown Object (File)
Tue, Apr 15, 3:45 PM
Unknown Object (File)
Mar 14 2025, 5:07 PM
Unknown Object (File)
Mar 14 2025, 4:51 AM
Unknown Object (File)
Mar 11 2025, 4:58 PM
Unknown Object (File)
Mar 7 2025, 7:28 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.