1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-28 05:03:59 +03:00
This commit is contained in:
Michael Telatynski
2021-06-24 19:28:04 +01:00
parent 40aa6ba96a
commit 1ca13f4ce9
2 changed files with 5 additions and 5 deletions

View File

@@ -15,10 +15,10 @@ limitations under the License.
*/
import { logger } from '../logger';
import {CryptoStore, MatrixClient} from "../client";
import {IRoomKeyRequestBody, IRoomKeyRequestRecipient} from "./index";
import { CryptoStore, MatrixClient } from "../client";
import { IRoomKeyRequestBody, IRoomKeyRequestRecipient } from "./index";
import { OutgoingRoomKeyRequest } from './store/base';
import {EventType} from "../@types/event";
import { EventType } from "../@types/event";
/**
* Internal module. Management of outgoing room key requests.

View File

@@ -26,7 +26,7 @@ export interface IDevice {
verified: DeviceVerification;
known: boolean;
unsigned?: Record<string, any>;
signatures?: Record<string, string>;
signatures?: ISignatures;
}
enum DeviceVerification {
@@ -92,7 +92,7 @@ export class DeviceInfo {
public verified = DeviceVerification.Unverified;
public known = false;
public unsigned: Record<string, any> = {};
public signatures: Record<string, string> = {};
public signatures: ISignatures = {};
constructor(public readonly deviceId: string) {}