We're updating FarcasterDataHandler to construct userIDsToFID map which will be passed to the keyserver. We include userIDs and fids for both the "target users" as well as current user.
Depends on D11605
Differential D11606
[lib] Update `FarcasterDataHandler` to construct `FarcasterRelationshipRequest` with `userIDsToFID` atul on Apr 9 2024, 8:49 PM. Authored by Tags None Referenced Files
Subscribers
Details We're updating FarcasterDataHandler to construct userIDsToFID map which will be passed to the keyserver. We include userIDs and fids for both the "target users" as well as current user. NOTE: The request constructed on the client will currently fail. We need to update both validators and responder on keyserver to support this new format.
Depends on D11605 Add log statements to userIDsToFID, userIDsToFIDIncludingCurrentUser, and createThreadsAndRobotextForFarcasterMutuals and ensure that data is structured as expected. (made some tweaks to the code here, so will go through again before landing)
Diff Detail
Event TimelineComment Actions
A safer ordering might be to first introduce the support for a new format on the keyserver, gated behind code version, and then modify the format on the client.
|