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("!")) { if (permalink.roomIdOrAlias.startsWith("!")) {
roomId = permalink.roomIdOrAlias roomId = permalink.roomIdOrAlias
viaServers = permalink.viaServers viaServers = permalink.viaServers
} } else {
else {
const roomInfo = await this.mjolnir.client.lookupRoomAlias(permalink.roomIdOrAlias) const roomInfo = await this.mjolnir.client.lookupRoomAlias(permalink.roomIdOrAlias)
roomId = roomInfo.roomId roomId = roomInfo.roomId
viaServers = roomInfo.residentServers viaServers = roomInfo.residentServers