Page MenuHomePhabricator

[keyserver] modify community fetcher to return channel tag
ClosedPublic

Authored by varun on Sep 11 2024, 4:32 PM.
Tags
None
Referenced Files
F3009695: D13301.id44064.diff
Fri, Oct 18, 11:28 PM
Unknown Object (File)
Mon, Oct 14, 2:56 PM
Unknown Object (File)
Mon, Oct 14, 2:56 PM
Unknown Object (File)
Mon, Oct 14, 2:56 PM
Unknown Object (File)
Mon, Oct 14, 2:28 PM
Unknown Object (File)
Thu, Oct 3, 9:26 AM
Unknown Object (File)
Thu, Sep 26, 10:39 PM
Unknown Object (File)
Thu, Sep 26, 11:05 AM
Subscribers

Details

Summary

rather than a boolean indicating whether the channel tag exists or not, we should return the actual tag. this way, we can check if the channel ID is in the list of channels led by the joining user

Test Plan

fetchCommunityFarcasterChannelTag returned the correct tag for my community tagged with a random farcaster channel ID. it returned null if viewer was not logged in and undefined if the community did not have a channel tag

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage