diff --git a/lib/webrtc/call.js b/lib/webrtc/call.js index dc2aeedd8..762c7f363 100644 --- a/lib/webrtc/call.js +++ b/lib/webrtc/call.js @@ -279,7 +279,7 @@ MatrixCall.prototype.setLocalVideoMuted = function(muted) { * @return {Boolean} True if the local preview video is muted, else false * (including if the call is not set up yet). */ -MatrixCall.prototype.isLocalVideoMuted = function(muted) { +MatrixCall.prototype.isLocalVideoMuted = function() { if (!this.localAVStream) { return false; } @@ -306,7 +306,7 @@ MatrixCall.prototype.setMicrophoneMuted = function(muted) { * @return {Boolean} True if the mic is muted, else false (including if the call * is not set up yet). */ -MatrixCall.prototype.isMicrophoneMuted = function(muted) { +MatrixCall.prototype.isMicrophoneMuted = function() { if (!this.localAVStream) { return false; }