mirror of https://github.com/vector-im/riot-web
Add comments
parent
45963adeb4
commit
3b6a201d4e
|
@ -24,9 +24,9 @@ import {decodeBase64} from "matrix-js-sdk/src/crypto/olmlib";
|
||||||
import Spinner from "../Spinner";
|
import Spinner from "../Spinner";
|
||||||
import * as QRCode from "qrcode";
|
import * as QRCode from "qrcode";
|
||||||
|
|
||||||
const CODE_VERSION = 0x02;
|
const CODE_VERSION = 0x02; // the version of binary QR codes we support
|
||||||
const BINARY_PREFIX = "MATRIX"; // ASCII, used to prefix the
|
const BINARY_PREFIX = "MATRIX"; // ASCII, used to prefix the binary format
|
||||||
const MODE_VERIFY_OTHER_USER = 0x00;
|
const MODE_VERIFY_OTHER_USER = 0x00; // Verifying someone who isn't us
|
||||||
const MODE_VERIFY_SELF_TRUSTED = 0x01; // We trust the master key
|
const MODE_VERIFY_SELF_TRUSTED = 0x01; // We trust the master key
|
||||||
const MODE_VERIFY_SELF_UNTRUSTED = 0x02; // We do not trust the master key
|
const MODE_VERIFY_SELF_UNTRUSTED = 0x02; // We do not trust the master key
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue