Page MenuHomePhabricator

[keyserver] add function to grab comm userID for given fid if on keyserver
ClosedPublic

Authored by will on Oct 29 2024, 2:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 16, 9:54 PM
Unknown Object (File)
Mon, Dec 16, 9:54 PM
Unknown Object (File)
Mon, Dec 16, 9:54 PM
Unknown Object (File)
Mon, Dec 16, 9:54 PM
Unknown Object (File)
Mon, Dec 16, 9:53 PM
Unknown Object (File)
Sat, Dec 7, 11:17 AM
Unknown Object (File)
Wed, Dec 4, 12:30 AM
Unknown Object (File)
Fri, Nov 29, 6:56 AM
Subscribers

Details

Summary

This diff introduces the getVerifiedUserIDForFID function in a new file for farcaster utils on the keyserver.

This will be used later in the stack to determine whether or not the tagger or lead fids for a channel have comm accounts on the keyserver.

Depends on D13781

Test Plan

flow check. This was tested later in the stack. It successfully returned a userID for an fid only if the userID existed on the keyserver.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

will published this revision for review.Oct 29 2024, 2:34 PM
keyserver/src/utils/farcaster-utils.js
1 ↗(On Diff #45434)
7–24 ↗(On Diff #45434)
This revision is now accepted and ready to land.Oct 29 2024, 3:03 PM
will marked 2 inline comments as done.Oct 29 2024, 3:03 PM