mirror of
https://github.com/matrix-org/mjolnir.git
synced 2024-10-01 01:36:06 -04:00
fix lint
This commit is contained in:
parent
a1493113b9
commit
dfcc6a392c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user