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
F3495721: D12510.id41688.diff
Thu, Dec 19, 9:44 AM
F3495720: D12510.id41557.diff
Thu, Dec 19, 9:44 AM
F3495709: D12510.id.diff
Thu, Dec 19, 9:44 AM
F3495704: D12510.diff
Thu, Dec 19, 9:44 AM
Unknown Object (File)
Wed, Nov 20, 1:51 AM
Unknown Object (File)
Nov 16 2024, 7:49 PM
Unknown Object (File)
Nov 1 2024, 5:39 PM
Unknown Object (File)
Oct 16 2024, 2:20 PM
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.