HomePhabricator
Diffusion Comm 03a6c519bfc5

[native][web] Fix ENS resolution for local DM notifs

Description

[native][web] Fix ENS resolution for local DM notifs

Summary:
ENSCacheProvider and NeynarClientProvider are relatively standalone components, and can safely be rendered higher in the tree.

On the other hand, TunnelbrokerProvider now handles notif sending, and as such is tightly coupled with business logic. We should render it lower in the hierarchy.

This diff solves ENG-9641 by making sure the DM notif-sending code in TunnelbrokerProvider is able to access the ENSCache in ENSCacheProvider, and the Farcaster username resolving code in NeynarClientProvider.

Test Plan: Confirmed that ENS resolution was working again for local DM notifs

Reviewers: tomek, kamil, angelika

Differential Revision: https://phab.comm.dev/D13710

Details

Provenance
ashoatAuthored on Mon, Oct 14, 8:20 PM
Differential Revision
D13710: [native][web] Fix ENS resolution for local DM notifs
Parents
rCOMM629fa7151da7: [lib][native] Use ensjs for ENSCache name/address resolution
Branches
Unknown
Tags
Unknown