1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-28 05:03:59 +03:00

jsdoc and remove pointless return

This commit is contained in:
David Baker
2017-11-17 15:31:50 +00:00
parent 40cbd5ec9d
commit eb2d5484b8

View File

@@ -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;
};
/**