From 0aa3fbff2ae4ebbc8758f60dda24caaa03743a11 Mon Sep 17 00:00:00 2001 From: Benny Daon Date: Tue, 27 Aug 2024 17:28:37 +0300 Subject: [PATCH] Polishing --- CHANGELOG.md | 2 +- src/peerbook.ts | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c7db09c..69c7bb96 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,7 @@ you can now set `font_family` and `font_size`. ### Fixed -- CMD-[1-9] in the web now switches to the corresponding tab +- CMD-[1-9] on the web now switches to the corresponding tab - Handling of unverified hosts - Multi client layout sync - Fixing the font used in rename and search diff --git a/src/peerbook.ts b/src/peerbook.ts index 64a94c30..2c3b9e56 100644 --- a/src/peerbook.ts +++ b/src/peerbook.ts @@ -107,7 +107,6 @@ export class PeerbookConnection { if (params) np = {...params} // remove the first message - // WIP: delete np.firstMsg if (!np.count) np.count = 1 else if (np?.count > terminal7.conf.net.retries) { @@ -410,12 +409,7 @@ export class PeerbookConnection { let validated = false // TODO:gAdd biometrics verification while (!validated) { - let otp: string - try { - otp = await this.shell.askValue(prompt || "Enter OTP to verify gate") - } catch(e) { - throw e - } + const otp = await this.shell.askValue(prompt || "Enter OTP to verify gate") try { await this.adminCommand(new ControlMessage("verify", { target: fp, otp: otp })) validated = true