Page MenuHomePhabricator

[native] Wait for authoritative keyserver login before setting avatar in registration flow
ClosedPublic

Authored by ashoat on Thu, Apr 18, 12:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 28, 7:34 PM
Unknown Object (File)
Sun, Apr 28, 7:23 PM
Unknown Object (File)
Sat, Apr 27, 12:56 PM
Unknown Object (File)
Sat, Apr 27, 11:56 AM
Unknown Object (File)
Sat, Apr 27, 2:38 AM
Unknown Object (File)
Fri, Apr 26, 5:17 PM
Unknown Object (File)
Wed, Apr 24, 4:56 AM
Unknown Object (File)
Thu, Apr 18, 6:25 PM
Subscribers
None

Details

Summary

When this logic was first built, currentUserInfo would appear after the authoritative keyserver auth occurred.

Now it appears after identity auth, so it's no longer the right thing to check here. Instead, we should check isLoggedInToKeyserver(authoritativeKeyserverID).

Test Plan

Make sure that I can register an account with a custom avatar, and that when the account is created the custom avatar appears

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable