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