diff --git a/index.js b/index.js index e76ced2..26d5205 100644 --- a/index.js +++ b/index.js @@ -112,13 +112,6 @@ function sendImage(results, resultIndex, roomId, name, searchCommand, retryCount }, }; matrixClient.sendEvent(roomId, "m.room.message", content); - /* - await client.sendEvent(roomId, "m.room.message", content, "", (err, res) => { - if (err) console.error("Failed to send image:", err); - else console.log("Image sent successfully:", res); - }); - */ - matrixClient.sendTyping(roomId, false, 3000); } catch (error) { retryCount = retryCount + 1;