Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
H-Shay committed Jul 24, 2024
1 parent a149311 commit dfcc6a3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/models/PolicyList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dfcc6a3

Please sign in to comment.