i dont even know what this PR is supposed to be about anymore, everyone lost the plot somewhere in the middle of act 2 #74
1 changed files with 1 additions and 0 deletions
Somehow, everything is a space...
commit
75fec8819d
|
|
@ -196,6 +196,7 @@ as.router.post("/api/link", defineEventHandler(async event => {
|
|||
if (room.room_type && room.room_type === "m.space") {
|
||||
foundSpace = true
|
||||
}
|
||||
console.log(room.room_id + " ==> "+ foundSpace)
|
||||
}
|
||||
if (!foundRoom) throw createError({status: 400, message: "Bad Request", data: "Matrix room needs to be part of the bridged space"})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue