Page MenuHomePhabricator

[keyserver] Use fetchServerThreadInfos instead of fetchThreadInfos for updateRole
ClosedPublic

Authored by will on Wed, Oct 30, 12:45 PM.
Tags
None
Referenced Files
F3351766: D13833.id45483.diff
Sat, Nov 23, 3:30 AM
Unknown Object (File)
Thu, Nov 21, 8:14 AM
Unknown Object (File)
Thu, Nov 21, 4:25 AM
Unknown Object (File)
Sat, Nov 16, 2:44 AM
Unknown Object (File)
Fri, Nov 15, 7:36 PM
Unknown Object (File)
Fri, Nov 15, 7:59 AM
Unknown Object (File)
Fri, Nov 15, 2:50 AM
Unknown Object (File)
Fri, Nov 15, 2:47 AM
Subscribers

Details

Summary

Using fetchThreadInfos in updateRole with the commbot ghost viewer results in the request's thread being filtered out. We instead use fetchServerThreadInfos instead here to avoid filtering based on the viewer

Depends on D13832

Test Plan

No longer received ServerError: invalid_parameters later in stack when attempting to create a farcaster channel community with farcaster bot and updating role with commbot as viewer

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

will requested review of this revision.Wed, Oct 30, 1:36 PM
This revision is now accepted and ready to land.Wed, Oct 30, 2:40 PM