diff --git a/lib/http-api.js b/lib/http-api.js index 2a5be70f8..35dcbb4c7 100644 --- a/lib/http-api.js +++ b/lib/http-api.js @@ -596,7 +596,7 @@ module.exports.MatrixHttpApi.prototype = { * @param {object=} opts.headers extra request headers * * @param {number=} opts.localTimeoutMs client-side timeout for the - * request. Default timeout if undefined. + * request. Default timeout if falsy. * * @param {function=} opts.bodyParser function to parse the body of the * response before passing it to the promise and callback.