1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-12-01 04:43:29 +03:00

Appease the linter

This commit is contained in:
Travis Ralston
2019-06-20 14:17:51 -06:00
parent 5c2fb1c42b
commit 7cb8de5b69

View File

@@ -75,7 +75,9 @@ export default class VerificationBase extends EventEmitter {
_resetTimer() { _resetTimer() {
console.log("Refreshing/starting the verification transaction timeout timer"); console.log("Refreshing/starting the verification transaction timeout timer");
if (this._transactionTimeoutTimer !== null) clearTimeout(this._transactionTimeoutTimer); if (this._transactionTimeoutTimer !== null) {
clearTimeout(this._transactionTimeoutTimer);
}
setTimeout(() => { setTimeout(() => {
if (!this._done && !this.cancelled) { if (!this._done && !this.cancelled) {
console.log("Triggering verification timeout"); console.log("Triggering verification timeout");