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)
Fri, Nov 29, 6:56 AM
Unknown Object (File)
Fri, Nov 29, 4:53 AM
Unknown Object (File)
Thu, Nov 28, 10:26 AM
Unknown Object (File)
Tue, Nov 26, 7:17 AM
Unknown Object (File)
Sun, Nov 24, 8:27 PM
Unknown Object (File)
Sat, Nov 23, 12:51 PM
Unknown Object (File)
Sat, Nov 23, 2:23 AM
Unknown Object (File)
Fri, Nov 22, 11:57 PM
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