aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/search.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/search.cpp')
-rw-r--r--lib/csapi/search.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/csapi/search.cpp b/lib/csapi/search.cpp
index 295dd1cc..92300351 100644
--- a/lib/csapi/search.cpp
+++ b/lib/csapi/search.cpp
@@ -16,7 +16,7 @@ auto queryToSearch(const QString& nextBatch)
SearchJob::SearchJob(const Categories& searchCategories,
const QString& nextBatch)
: BaseJob(HttpVerb::Post, QStringLiteral("SearchJob"),
- makePath("/_matrix/client/r0", "/search"),
+ makePath("/_matrix/client/v3", "/search"),
queryToSearch(nextBatch))
{
QJsonObject _data;