Skip to content

Commit

Permalink
Remove async as no await in function
Browse files Browse the repository at this point in the history
  • Loading branch information
hughns committed Apr 13, 2022
1 parent 5e5fe0a commit 9a89b42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6597,7 +6597,7 @@ export class MatrixClient extends TypedEventEmitter<EmittedEvents, ClientEventHa
* Query the server to see if it supports the MSC2457 `logout_devices` parameter when setting password
* @return {Promise<boolean>} true if server supports the `logout_devices` parameter
*/
public async doesServerSupportLogoutDevices(): Promise<boolean> {
public doesServerSupportLogoutDevices(): Promise<boolean> {
return this.isVersionSupported("r0.6.1");
}

Expand Down

0 comments on commit 9a89b42

Please sign in to comment.