Page MenuHomePhabricator

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

Authored by will on Tue, Oct 29, 2:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 14, 8:52 PM
Unknown Object (File)
Mon, Nov 11, 5:13 PM
Unknown Object (File)
Mon, Nov 11, 1:39 AM
Unknown Object (File)
Sun, Nov 10, 3:28 PM
Unknown Object (File)
Sun, Nov 10, 12:19 AM
Unknown Object (File)
Fri, Nov 8, 4:47 PM
Unknown Object (File)
Thu, Nov 7, 1:45 PM
Unknown Object (File)
Thu, Nov 7, 8:40 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
No Lint Coverage
Unit
No Test Coverage

Event Timeline

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