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
Unknown Object (File)
Tue, Nov 26, 12:45 AM
Unknown Object (File)
Thu, Nov 14, 1:03 PM
Unknown Object (File)
Thu, Nov 14, 1:02 PM
Unknown Object (File)
Thu, Nov 14, 1:02 PM
Unknown Object (File)
Thu, Nov 14, 12:59 PM
Unknown Object (File)
Fri, Nov 8, 10:02 AM
Unknown Object (File)
Thu, Nov 7, 2:29 PM
Unknown Object (File)
Oct 19 2024, 1:39 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
Lint Not Applicable
Unit
Tests Not Applicable