HomePhabricator
Diffusion Comm ae6b513cd6fd

[keyserver] update joinThread to automatically make farcaster channel lead a…

Description

[keyserver] update joinThread to automatically make farcaster channel lead a community admin

Summary:
depends on D13295

updated the joinThread logic to:

  1. fetch user's farcaster ID from identity service
  2. fetch farcaster channels led by fid
  3. if channel tag for community is in list of channels led by fid, make user admin of thread

Test Plan:

  1. created two new communities and tagged them with /varun (my new channel, of which i'm the lead) and /sovereignty (i just follow this channel)
  2. registered a new user and linked my farcaster account
  3. confirmed that i was admin of the community tagged with /varun and a member of the community tagged with /sovereignty

Reviewers: ashoat

Reviewed By: ashoat

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D13300

Details

Provenance
varunAuthored on Sep 11 2024, 4:12 PM
Reviewer
ashoat
Differential Revision
D13300: [keyserver] update joinThread to automatically make farcaster channel lead a community admin
Parents
rCOMM7c7da1bc312d: Enhance DMActivityHandler
Branches
Unknown
Tags
Unknown