aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/knocking.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/knocking.cpp')
-rw-r--r--lib/csapi/knocking.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/csapi/knocking.cpp b/lib/csapi/knocking.cpp
index 73e13e6e..ba541643 100644
--- a/lib/csapi/knocking.cpp
+++ b/lib/csapi/knocking.cpp
@@ -16,7 +16,7 @@ auto queryToKnockRoom(const QStringList& serverName)
KnockRoomJob::KnockRoomJob(const QString& roomIdOrAlias,
const QStringList& serverName, const QString& reason)
: BaseJob(HttpVerb::Post, QStringLiteral("KnockRoomJob"),
- makePath("/_matrix/client/r0", "/knock/", roomIdOrAlias),
+ makePath("/_matrix/client/v3", "/knock/", roomIdOrAlias),
queryToKnockRoom(serverName))
{
QJsonObject _data;