From 0e30e078444266466f6d8555065f56ad4d3d1ba3 Mon Sep 17 00:00:00 2001 From: q Date: Mon, 17 Oct 2022 00:31:27 -0400 Subject: [PATCH] Fix incorrect reference to matrixClient --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 479c079..62896c7 100644 --- a/index.js +++ b/index.js @@ -194,7 +194,7 @@ Searx.prototype.handleMessage = function(event, room) { return; } else if (resultIndex > (results.length - 1)) { - this.matrixClient.sendNotice(room.roomId, "No result found for \""+toSearch+"\" at position "+resultIndex+1); + matrixClient.sendNotice(room.roomId, "No result found for \""+toSearch+"\" at position "+resultIndex+1); return; }