Page MenuHomePhabricator

[web][native] Download invite link blob and use it as an override
ClosedPublic

Authored by tomek on Dec 14 2023, 6:52 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 22, 6:20 AM
Unknown Object (File)
Wed, Mar 19, 2:02 AM
Unknown Object (File)
Tue, Mar 18, 8:36 AM
Unknown Object (File)
Tue, Mar 18, 8:36 AM
Unknown Object (File)
Tue, Mar 18, 8:36 AM
Unknown Object (File)
Tue, Mar 18, 8:36 AM
Unknown Object (File)
Tue, Mar 18, 8:36 AM
Unknown Object (File)
Sun, Mar 16, 12:06 AM
Subscribers

Details

Summary

Download a blob, parse it and use its content as a keyserver override.

Depends on D10311

Test Plan

Open a link on web for which a blob is downloaded and check if a blob is downloaded and its content is used correctly.

Diff Detail

Repository
rCOMM Comm
Branch
linki (branched from palys-swm/linki)
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

tomek requested review of this revision.Dec 14 2023, 7:45 AM
lib/shared/invite-links.js
32–34

The Content-Type header is redundant for the GET method because it doesn't have a request body.

39–40

Can we use KeyserverOverride in useVerifyInviteLink?

I'll leave this to the other reviewers as it seems like they have some more context/feedback here

tomek marked 2 inline comments as done.

Rebase and address comments

This revision is now accepted and ready to land.Feb 7 2024, 1:14 AM