You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-28 05:03:59 +03:00
delint
This commit is contained in:
@@ -15,10 +15,10 @@ limitations under the License.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { logger } from '../logger';
|
import { logger } from '../logger';
|
||||||
import {CryptoStore, MatrixClient} from "../client";
|
import { CryptoStore, MatrixClient } from "../client";
|
||||||
import {IRoomKeyRequestBody, IRoomKeyRequestRecipient} from "./index";
|
import { IRoomKeyRequestBody, IRoomKeyRequestRecipient } from "./index";
|
||||||
import { OutgoingRoomKeyRequest } from './store/base';
|
import { OutgoingRoomKeyRequest } from './store/base';
|
||||||
import {EventType} from "../@types/event";
|
import { EventType } from "../@types/event";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Internal module. Management of outgoing room key requests.
|
* Internal module. Management of outgoing room key requests.
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ export interface IDevice {
|
|||||||
verified: DeviceVerification;
|
verified: DeviceVerification;
|
||||||
known: boolean;
|
known: boolean;
|
||||||
unsigned?: Record<string, any>;
|
unsigned?: Record<string, any>;
|
||||||
signatures?: Record<string, string>;
|
signatures?: ISignatures;
|
||||||
}
|
}
|
||||||
|
|
||||||
enum DeviceVerification {
|
enum DeviceVerification {
|
||||||
@@ -92,7 +92,7 @@ export class DeviceInfo {
|
|||||||
public verified = DeviceVerification.Unverified;
|
public verified = DeviceVerification.Unverified;
|
||||||
public known = false;
|
public known = false;
|
||||||
public unsigned: Record<string, any> = {};
|
public unsigned: Record<string, any> = {};
|
||||||
public signatures: Record<string, string> = {};
|
public signatures: ISignatures = {};
|
||||||
|
|
||||||
constructor(public readonly deviceId: string) {}
|
constructor(public readonly deviceId: string) {}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user