deltachat

Module qr

source
Expand description

Β§QR code module.

Modules§

Structs§

Enums§

Constants§

Statics§

Functions§

  • Checks a scanned QR code.
  • decode_account πŸ”’
    scheme: DCACCOUNT:https://example.org/new_email?t=1w_7wDjgjelxeX884x96v3
  • decode_backup2 πŸ”’
    Decodes a DCBACKUP2_SCHEME QR code.
  • scheme: https://i.delta.chat[/]#FINGERPRINT&a=ADDR[&OPTIONAL_PARAMS]
  • decode_mailto πŸ”’
    Extract address for the mailto scheme.
  • decode_matmsg πŸ”’
    Extract address for the matmsg scheme.
  • decode_openpgp πŸ”’
    scheme: OPENPGP4FPR:FINGERPRINT#a=ADDR&n=NAME&i=INVITENUMBER&s=AUTH or: OPENPGP4FPR:FINGERPRINT#a=ADDR&g=GROUPNAME&x=GROUPID&i=INVITENUMBER&s=AUTH or: OPENPGP4FPR:FINGERPRINT#a=ADDR
  • Decodes ss:// URLs for Shadowsocks proxies.
  • decode_smtp πŸ”’
    Extract address for the smtp scheme.
  • scheme: https://t.me/socks?server=foo&port=123 or https://t.me/socks?server=1.2.3.4&port=123
  • decode_vcard πŸ”’
    Extract address for the vcard scheme.
  • scheme: DCWEBRTC:https://meet.jit.si/$ROOM
  • Formats the text of the Qr::Backup2 variant.
  • URL decodes a given address, does basic email validation on the result.
  • take a qr of the type DC_QR_ACCOUNT, parse it’s parameters, download additional information from the contained url and set the parameters. on success, a configure::configure() should be able to log in to the account
  • Sets configuration values from a QR code.