From dfcc6a392c8fad0f3751715a9141fe4f9b8d9b09 Mon Sep 17 00:00:00 2001 From: "H. Shay" Date: Wed, 24 Jul 2024 13:11:42 -0700 Subject: [PATCH] fix lint --- src/models/PolicyList.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/models/PolicyList.ts b/src/models/PolicyList.ts index 4e56978..0009504 100644 --- a/src/models/PolicyList.ts +++ b/src/models/PolicyList.ts @@ -663,8 +663,7 @@ export class PolicyListManager { if (permalink.roomIdOrAlias.startsWith("!")) { roomId = permalink.roomIdOrAlias viaServers = permalink.viaServers - } - else { + } else { const roomInfo = await this.mjolnir.client.lookupRoomAlias(permalink.roomIdOrAlias) roomId = roomInfo.roomId viaServers = roomInfo.residentServers