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
F3354396: D13811.id45437.diff
Sat, Nov 23, 12:51 PM
F3351538: D13811.id45437.diff
Sat, Nov 23, 2:23 AM
F3350823: D13811.diff
Fri, Nov 22, 11:57 PM
Unknown Object (File)
Thu, Nov 21, 10:36 PM
Unknown Object (File)
Thu, Nov 21, 8:12 AM
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
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