diff --git a/src/web/routes/link.js b/src/web/routes/link.js index f85e66d..b359f9f 100644 --- a/src/web/routes/link.js +++ b/src/web/routes/link.js @@ -159,7 +159,7 @@ as.router.post("/api/link", defineEventHandler(async event => { await api.joinRoom(parsedBody.matrix, null, foundVia) } catch (e) { if (!foundVia) { - throw createError({status: 403, message: "Unable To Join", data: `Unable to join the requested Matrix room. Please invite the bridge to the room and try again. (Server said: ${e.errcode} - ${e.message})`}) + throw createError({status: 403, message: "Unable To Join", data: "Unable to join the requested Matrix room. Please invite the bridge to the room and try again."}) } throw createError({status: 403, message: e.errcode, data: `${e.errcode} - ${e.message}`}) }