diff --git a/spec/unit/webrtc/groupCall.spec.ts b/spec/unit/webrtc/groupCall.spec.ts index 692fbdbfb..e9a9c8a93 100644 --- a/spec/unit/webrtc/groupCall.spec.ts +++ b/spec/unit/webrtc/groupCall.spec.ts @@ -212,7 +212,7 @@ describe('Group Call', function() { ], }), FAKE_USER_ID_1, - false, + { keepAlive: false }, ); } finally { groupCall.leave(); @@ -234,7 +234,7 @@ describe('Group Call', function() { EventType.GroupCallMemberPrefix, expect.objectContaining({ "m.calls": [] }), FAKE_USER_ID_1, - true, // Request should outlive the window + { keepAlive: true }, // Request should outlive the window ); }); diff --git a/src/client.ts b/src/client.ts index 4b814b2f4..60c4d55f4 100644 --- a/src/client.ts +++ b/src/client.ts @@ -65,6 +65,7 @@ import { FileType, UploadResponse, HTTPError, + IRequestOpts, } from "./http-api"; import { Crypto, @@ -7517,7 +7518,7 @@ export class MatrixClient extends TypedEventEmitter { const pathParams = { $roomId: roomId, @@ -7537,7 +7538,7 @@ export class MatrixClient extends TypedEventEmitter