You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-12-01 04:43:29 +03:00
Update src/webrtc/call.ts
Co-authored-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
@@ -697,7 +697,7 @@ export class MatrixCall extends EventEmitter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private shouldAnswerWithMediaType(
|
private shouldAnswerWithMediaType(
|
||||||
wantedValue: boolean, valueOfTheOtherSide: boolean, type: "audio" | "video",
|
wantedValue: boolean | undefined, valueOfTheOtherSide: boolean | undefined, type: "audio" | "video",
|
||||||
): boolean {
|
): boolean {
|
||||||
if (wantedValue && !valueOfTheOtherSide) {
|
if (wantedValue && !valueOfTheOtherSide) {
|
||||||
// TODO: Figure out how to do this
|
// TODO: Figure out how to do this
|
||||||
|
|||||||
Reference in New Issue
Block a user