1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-26 17:03:12 +03:00

Appease the linter

This commit is contained in:
Travis Ralston
2020-01-29 15:06:13 +00:00
parent c45b38cece
commit 92f6ec918b
2 changed files with 6 additions and 9 deletions

View File

@@ -41,7 +41,11 @@ import {
import {SECRET_STORAGE_ALGORITHM_V1, SecretStorage} from './SecretStorage'; import {SECRET_STORAGE_ALGORITHM_V1, SecretStorage} from './SecretStorage';
import {OutgoingRoomKeyRequestManager} from './OutgoingRoomKeyRequestManager'; import {OutgoingRoomKeyRequestManager} from './OutgoingRoomKeyRequestManager';
import {IndexedDBCryptoStore} from './store/indexeddb-crypto-store'; import {IndexedDBCryptoStore} from './store/indexeddb-crypto-store';
import {ReciprocateQRCode, SCAN_QR_CODE_METHOD, SHOW_QR_CODE_METHOD} from './verification/QRCode'; import {
ReciprocateQRCode,
SCAN_QR_CODE_METHOD,
SHOW_QR_CODE_METHOD,
} from './verification/QRCode';
import {SAS} from './verification/SAS'; import {SAS} from './verification/SAS';
import {keyFromPassphrase} from './key_passphrase'; import {keyFromPassphrase} from './key_passphrase';
import {encodeRecoveryKey} from './recoverykey'; import {encodeRecoveryKey} from './recoverykey';

View File

@@ -22,16 +22,9 @@ limitations under the License.
import {VerificationBase as Base} from "./Base"; import {VerificationBase as Base} from "./Base";
import { import {
errorFactory, newKeyMismatchError,
newKeyMismatchError, newUnknownTransactionError,
newUserCancelledError,
newUserMismatchError, newUserMismatchError,
} from './Error'; } from './Error';
import * as qs from "qs";
const MATRIXTO_REGEXP = /^(?:https?:\/\/)?(?:www\.)?matrix\.to\/#\/([#@!+][^?]+)\?(.+)$/;
const newQRCodeError = errorFactory("m.qr_code.invalid", "Invalid QR code");
export const SHOW_QR_CODE_METHOD = "m.qr_code.show.v1"; export const SHOW_QR_CODE_METHOD = "m.qr_code.show.v1";
export const SCAN_QR_CODE_METHOD = "m.qr_code.scan.v1"; export const SCAN_QR_CODE_METHOD = "m.qr_code.scan.v1";