Remove commented stuff
This commit is contained in:
7
index.js
7
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;
|
||||
|
Reference in New Issue
Block a user