Page MenuHomePhabricator

[lib][native] Introduce isLoggedInToIdentityAndAuthoritativeKeyserver
ClosedPublic

Authored by ashoat on Jul 8 2024, 10:25 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 21, 11:13 AM
Unknown Object (File)
Sun, Sep 8, 3:03 PM
Unknown Object (File)
Sun, Sep 8, 3:03 PM
Unknown Object (File)
Sun, Sep 8, 3:02 PM
Unknown Object (File)
Sun, Sep 8, 3:02 PM
Unknown Object (File)
Sun, Sep 8, 7:15 AM
Unknown Object (File)
Aug 17 2024, 10:37 PM
Unknown Object (File)
Aug 16 2024, 10:50 PM
Subscribers
None

Details

Summary

Follow-up to the previous diff that combines isLoggedIn. This lets us factor out some logic in the codebase.

Depends on D12696

Test Plan

This should be a simple no-op refactor, so my testing was limited:

  1. Flow
  2. Careful inspection of the code
  3. The changes to NavigationHandler were tested as part of the stack

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

native/components/auto-join-community-handler.react.js
36 ↗(On Diff #42122)

There is a minor change here and in ConnectFarcasterAlertHandler below. Previously currentUserID could be set for an anonymous cookie, but now that's not possible. I think this a good change – neither of these handlers should be called if the cookie is anonymous

This revision is now accepted and ready to land.Jul 9 2024, 5:00 AM