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)
Sun, Jan 5, 9:40 PM
Unknown Object (File)
Sun, Jan 5, 9:40 PM
Unknown Object (File)
Sun, Jan 5, 9:40 PM
Unknown Object (File)
Sun, Jan 5, 9:40 PM
Unknown Object (File)
Nov 30 2024, 5:39 PM
Unknown Object (File)
Nov 30 2024, 5:35 PM
Unknown Object (File)
Nov 27 2024, 8:56 PM
Unknown Object (File)
Nov 3 2024, 6:41 AM
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