From 34953d28422f0bd2ee1b8e878bea159fc3412ef7 Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Mon, 6 May 2024 18:09:53 +0200 Subject: [PATCH] [mirotalksfu] - fix typo --- app/src/Host.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/Host.js b/app/src/Host.js index a6bd0a56..f660028e 100644 --- a/app/src/Host.js +++ b/app/src/Host.js @@ -70,7 +70,9 @@ module.exports = class Host { * @returns boolean */ deleteIP(ip) { - this.setRoomDeactivate(); + if (this.isAuthorizedIP(ip)) { + this.setRoomDeactivate(); + } return this.authorizedIPs.delete(ip); } };