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
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
Unknown Object (File)
Thu, Nov 14, 6:49 PM
Unknown Object (File)
Thu, Nov 14, 5:03 PM
Unknown Object (File)
Thu, Nov 14, 2:48 PM
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