Skip to content

Commit

Permalink
Fix CallOpts types (#3214)
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy authored Mar 14, 2023
1 parent 333872e commit 1d9250b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/webrtc/call.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ import { MatrixError } from "../http-api";

interface CallOpts {
// The room ID for this call.
roomId?: string;
roomId: string;
invitee?: string;
// The Matrix Client instance to send events to.
client: MatrixClient;
Expand Down Expand Up @@ -314,7 +314,7 @@ function getTransceiverKey(purpose: SDPStreamMetadataPurpose, kind: TransceiverK
}

export class MatrixCall extends TypedEventEmitter<CallEvent, CallEventHandlerMap> {
public roomId?: string;
public roomId: string;
public callId: string;
public invitee?: string;
public hangupParty?: CallParty;
Expand Down

0 comments on commit 1d9250b

Please sign in to comment.