[WIP] threads. #74

Draft
Guzio wants to merge 147 commits from Guzio/out-of-your-element:mergable-fr-fr into main
Showing only changes of commit e301a1f3b0 - Show all commits
Wrong IF xD

This is getting nuked soon, but I still find if funny that I got it wrong.
Guzio 2026-04-25 13:12:58 +00:00

View file

@ -198,7 +198,7 @@ as.router.post("/api/link", defineEventHandler(async event => {
}
}
if (!foundRoom) throw createError({status: 400, message: "Bad Request", data: "Matrix room needs to be part of the bridged space"})
else if (!foundRoom) throw createError({status: 400, message: "Bad Request", data: "Matrix room cannot be of type m.space"})
else if (foundSpace) throw createError({status: 400, message: "Bad Request", data: "Matrix room cannot be of type m.space"})
// Check room exists and bridge is joined
try {