Page MenuHomePhabricator

[lib][web][native] Send CSAT in getKeyserverOverrideForAnInviteLink
ClosedPublic

Authored by bartek on Jun 13 2024, 11:40 PM.
Tags
None
Referenced Files
F3562154: D12437.id41436.diff
Fri, Dec 27, 9:52 AM
F3561604: D12437.id41436.diff
Fri, Dec 27, 9:09 AM
Unknown Object (File)
Thu, Dec 19, 5:01 AM
Unknown Object (File)
Thu, Dec 19, 5:01 AM
Unknown Object (File)
Thu, Dec 19, 5:00 AM
Unknown Object (File)
Thu, Dec 19, 5:00 AM
Unknown Object (File)
Nov 27 2024, 5:20 PM
Unknown Object (File)
Nov 23 2024, 10:30 PM
Subscribers

Details

Summary

getKeyserverOverrideForAnInviteLink() performs a Blob Service request but doesn't send Authorization header.
Followed multimedia fetching code and added optional AuthMetadata that is sent if usingCSAT == true.

Test Plan
  • On my local keyserver, created a community and created invite link
  • Opened the link in the browser - invitation was successful.
  • Searched Blob Service debug logs - Authorization header was present.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.Jun 14 2024, 3:00 AM
bartek edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Jun 14 2024, 5:36 AM

cc @ginsu, as I know the Farcaster channel work is closely modeled after the invite link work, and might have the same problem