You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-25 05:23:13 +03:00
Fix more typescript --strict violations (#2795)
* Stash tsc fixes * Iterate * Iterate * Iterate * Fix tests * Iterate * Iterate * Iterate * Iterate * Add tests
This commit is contained in:
committed by
GitHub
parent
4b3e6939d6
commit
9f2f08dfd3
@@ -161,7 +161,7 @@ export class CallEventHandler {
|
||||
logger.info("Current turn creds expire in " + timeUntilTurnCresExpire + " ms");
|
||||
call = createNewMatrixCall(
|
||||
this.client,
|
||||
event.getRoomId(),
|
||||
event.getRoomId()!,
|
||||
{ forceTURN: this.client.forceTURN },
|
||||
) ?? undefined;
|
||||
if (!call) {
|
||||
@@ -250,7 +250,7 @@ export class CallEventHandler {
|
||||
// if not live, store the fact that the call has ended because
|
||||
// we're probably getting events backwards so
|
||||
// the hangup will come before the invite
|
||||
call = createNewMatrixCall(this.client, event.getRoomId()) ?? undefined;
|
||||
call = createNewMatrixCall(this.client, event.getRoomId()!) ?? undefined;
|
||||
if (call) {
|
||||
call.callId = content.call_id;
|
||||
call.initWithHangup(event);
|
||||
|
||||
Reference in New Issue
Block a user