diff --git a/index.mjs b/index.mjs index 2e721f1..d546784 100644 --- a/index.mjs +++ b/index.mjs @@ -60,12 +60,12 @@ async function handleCommand(roomId, event) { let body = event['content']['body']; body = body.toLowerCase(); if (body?.startsWith("!jitsi")) { - await conferenceUtil.sendMessageWithUrl(roomId); - await conferenceUtil.changeRoomName(roomId); + conferenceUtil.sendMessageWithUrl(roomId); + conferenceUtil.changeRoomName(roomId); } if (body?.startsWith("!join")) { - await conferenceUtil.sendJoinConference(roomId); + conferenceUtil.sendJoinConference(roomId); } if (body?.startsWith("!hilfe")) {