aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/kicking.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/kicking.cpp')
-rw-r--r--lib/csapi/kicking.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/csapi/kicking.cpp b/lib/csapi/kicking.cpp
index 433e592c..3bedcb34 100644
--- a/lib/csapi/kicking.cpp
+++ b/lib/csapi/kicking.cpp
@@ -9,7 +9,7 @@ using namespace Quotient;
KickJob::KickJob(const QString& roomId, const QString& userId,
const QString& reason)
: BaseJob(HttpVerb::Post, QStringLiteral("KickJob"),
- makePath("/_matrix/client/r0", "/rooms/", roomId, "/kick"))
+ makePath("/_matrix/client/v3", "/rooms/", roomId, "/kick"))
{
QJsonObject _data;
addParam<>(_data, QStringLiteral("user_id"), userId);