Open mwild1 opened 3 years ago
If a scanned QR code is a https:// URL, perform a HEAD request and look for a Link header like the following:
Link
Link: <xmpp:example.com?register;preauth=65HVSJQKz-sV8-Jr> rel="alternate"
Extract the URI and handle it the same as if a URI QR was scanned directly.
This will allow us to simplify the invitation page.
If a scanned QR code is a https:// URL, perform a HEAD request and look for a
Link
header like the following:Extract the URI and handle it the same as if a URI QR was scanned directly.