From 9121f23553be052824895c322fe2f8220e42f951 Mon Sep 17 00:00:00 2001 From: Entwicklung Date: Mon, 11 Dec 2023 17:06:11 +0100 Subject: [PATCH] add warning that the bot is a MIM --- index.mjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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")) {