Page MenuHomePhabricator

[lib] Discard keyserver usernames for full state sync
ClosedPublic

Authored by inka on Thu, Jun 20, 4:34 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jun 30, 12:56 AM
Unknown Object (File)
Sat, Jun 29, 9:38 PM
Unknown Object (File)
Thu, Jun 27, 2:32 PM
Unknown Object (File)
Wed, Jun 26, 12:33 PM
Unknown Object (File)
Tue, Jun 25, 5:58 PM
Unknown Object (File)
Sun, Jun 23, 12:10 PM
Unknown Object (File)
Fri, Jun 21, 1:17 AM
Unknown Object (File)
Fri, Jun 21, 1:07 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
No Lint Coverage
Unit
No Test Coverage

Event Timeline

inka requested review of this revision.Thu, Jun 20, 4:57 AM
This revision is now accepted and ready to land.Fri, Jun 21, 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.