summaryrefslogtreecommitdiff
path: root/searx/engines/matrixrooms.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/engines/matrixrooms.py')
-rw-r--r--searx/engines/matrixrooms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/matrixrooms.py b/searx/engines/matrixrooms.py
index d10398204..06c4d99a9 100644
--- a/searx/engines/matrixrooms.py
+++ b/searx/engines/matrixrooms.py
@@ -22,7 +22,7 @@ page_size = 20
def request(query, params):
- params['url'] = f"{base_url}/search/{quote_plus(query)}/{page_size}/{params['pageno']-1}"
+ params['url'] = f"{base_url}/search/{quote_plus(query)}/{page_size}/{(params['pageno']-1)*page_size}"
return params