Skip to content

Commit

Permalink
fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
Half-Shot committed Nov 22, 2023
1 parent e5b87a8 commit f45e56b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/matrix/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ export class Client {
* @param {string} token A Matrix Access Token
*/
async updateAccessToken(token) {
if (!_this.session) {
if (!this._session) {
throw Error("No session loaded, cannot update access token");
}
this._session.updateAccessToken(token);
Expand Down

0 comments on commit f45e56b

Please sign in to comment.