You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-08-18 05:42:00 +03:00
Style checks and more jsdoc.
This commit is contained in:
@@ -21,7 +21,7 @@ function MatrixClient(opts) {
|
||||
utils.checkObjectHasNoAdditionalKeys(opts,
|
||||
["baseUrl", "request", "usePromises", "accessToken", "userId", "store"]
|
||||
);
|
||||
|
||||
|
||||
this.store = opts.store || null;
|
||||
// track our position in the overall eventstream
|
||||
this.fromToken = undefined;
|
||||
@@ -307,7 +307,7 @@ MatrixClient.prototype = {
|
||||
'bind': bind
|
||||
};
|
||||
return this._http.authedRequestWithPrefix(
|
||||
callback, "POST", path, qps, data, httpApi.PREFIX_V2_ALPHA
|
||||
callback, "POST", path, null, data, httpApi.PREFIX_V2_ALPHA
|
||||
);
|
||||
},
|
||||
|
||||
@@ -463,7 +463,7 @@ MatrixClient.prototype = {
|
||||
},
|
||||
|
||||
isLoggedIn: function() {
|
||||
return this._http.opts.accessToken !== undefined
|
||||
return this._http.opts.accessToken !== undefined;
|
||||
},
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user