This commit is contained in:
H. Shay 2024-07-24 13:11:42 -07:00
parent a1493113b9
commit dfcc6a392c

View File

@ -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