@@ -19,8 +19,8 @@ import { type IKeyTransport, KeyTransportEvents, type KeyTransportEventsHandlerM
1919import { type Logger , logger } from "../logger.ts" ;
2020import type { CallMembership } from "./CallMembership.ts" ;
2121import type { EncryptionKeysToDeviceEventContent , Statistics } from "./types.ts" ;
22- import { ClientEvent , MatrixClient } from "../client.ts" ;
23- import { MatrixEvent } from "../models/event.ts" ;
22+ import { ClientEvent , type MatrixClient } from "../client.ts" ;
23+ import type { MatrixEvent } from "../models/event.ts" ;
2424import { EventType } from "../@types/event.ts" ;
2525
2626export class ToDeviceKeyTransport
@@ -40,11 +40,11 @@ export class ToDeviceKeyTransport
4040 this . prefixedLogger = logger . getChild ( `[RTC: ${ roomId } ToDeviceKeyTransport]` ) ;
4141 }
4242
43- start ( ) : void {
43+ public start ( ) : void {
4444 this . client . on ( ClientEvent . ToDeviceEvent , ( ev ) => this . onToDeviceEvent ( ev ) ) ;
4545 }
4646
47- stop ( ) : void {
47+ public stop ( ) : void {
4848 this . client . off ( ClientEvent . ToDeviceEvent , this . onToDeviceEvent ) ;
4949 }
5050
@@ -89,7 +89,7 @@ export class ToDeviceKeyTransport
8989 }
9090 }
9191
92- receiveCallKeyEvent ( fromUser : string , content : EncryptionKeysToDeviceEventContent ) : void {
92+ private receiveCallKeyEvent ( fromUser : string , content : EncryptionKeysToDeviceEventContent ) : void {
9393 // The event has already been validated at this point.
9494
9595 this . statistics . counters . roomEventEncryptionKeysReceived += 1 ;
0 commit comments