Page MenuHomePhabricator

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

Authored by ashoat on Apr 18 2024, 12:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 27, 8:56 PM
Unknown Object (File)
Sun, Nov 3, 6:41 AM
Unknown Object (File)
Oct 12 2024, 7:29 PM
Unknown Object (File)
Oct 12 2024, 7:29 PM
Unknown Object (File)
Oct 12 2024, 7:29 PM
Unknown Object (File)
Oct 12 2024, 7:29 PM
Unknown Object (File)
Oct 10 2024, 3:59 PM
Unknown Object (File)
Aug 29 2024, 7:30 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