Fix incorrect reference to matrixClient
This commit is contained in:
parent
97d39777f3
commit
0e30e07844
2
index.js
2
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user