HomePhabricator
Diffusion Comm c2b7851036f3

[lib] add device type to qr code URL

Description

[lib] add device type to qr code URL

Summary:
we need to know whether the device being scanned is a keyserver so that we don't accidentally add multiple keyservers to a user's device list.

this change is backwards compatible. if a device presents a QR code without a device type, it will still be parsed successfully.

Test Plan:

  • scanned QR code with old URL (sans device type) successfully
  • scanned QR code with new URL successfully
  • scanned QR code with new URL successfully from old device unaware of new URL format

Reviewers: ashoat, tomek

Reviewed By: ashoat

Differential Revision: https://phab.comm.dev/D12734

Details

Provenance
varunAuthored on Jul 12 2024, 12:10 PM
Reviewer
ashoat
Differential Revision
D12734: [lib] add device type to qr code URL
Parents
rCOMMacd82b15dd8f: [identity] Query reserved usernames in concurrent batches
Branches
Unknown
Tags
Unknown