From eb2d5484b8d78bb35b08a73d3a61c9d697900aa9 Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 17 Nov 2017 15:31:50 +0000 Subject: [PATCH] jsdoc and remove pointless return --- src/client.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client.js b/src/client.js index 41aaba208..8baa04f0a 100644 --- a/src/client.js +++ b/src/client.js @@ -258,9 +258,10 @@ MatrixClient.prototype.supportsVoip = function() { * Set whether VoIP calls are forced to use only TURN * candidates. This is the same as the forceTURN option * when creating the client. + * @param {bool} forceTURN True to force use of TURN servers */ MatrixClient.prototype.setForceTURN = function(forceTURN) { - return this._forceTURN = forceTURN; + this._forceTURN = forceTURN; }; /**