diff --git a/index.js b/index.js index 105282d..81cd709 100644 --- a/index.js +++ b/index.js @@ -6,7 +6,7 @@ function Searxng(matrixClient) { this.cooldownImmuneUsers = []; this.roomCooldowns = new Map(); this.searxngInstance = ""; - this.searxngParameters = "enabled_engines=duckduckgo images__images,bing images__images&disabled_engines=flickr__images,nyaa__images,qwant images__images,google images__images,artic__images,deviantart__images,library of congress__images,unsplash__images,openverse__images" + this.searxngParameters = "enabled_engines=duckduckgo images__images,google images__images,bing images__images&disabled_engines=flickr__images,nyaa__images,qwant images__images,artic__images,deviantart__images,library of congress__images,unsplash__images,openverse__images" } Searxng.prototype.setUploadMatrixClient = function(uploadMatrixClient){ this.uploadMatrixClient = uploadMatrixClient; }; @@ -191,6 +191,7 @@ Searxng.prototype.handleMessage = function(event, room) { if (typeof results === 'undefined' || results == null || results.length <= 0) { matrixClient.sendNotice(room.roomId, "No results found for \""+toSearch+"\""); + console.log(body); return; } else if (resultIndex > (results.length - 1)) {