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

Apply suggestions from SonarQube (#2340)

This commit is contained in:
Michael Telatynski
2022-05-03 22:40:57 +01:00
committed by GitHub
parent b86630f0e3
commit 8be30acb11
19 changed files with 86 additions and 96 deletions

View File

@@ -271,9 +271,9 @@ export class SAS extends Base<SasEvent, EventHandlerMap> {
do {
try {
if (this.initiatedByMe) {
return await this.doSendVerification();
return this.doSendVerification();
} else {
return await this.doRespondVerification();
return this.doRespondVerification();
}
} catch (err) {
if (err instanceof SwitchStartEventError) {