aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/room_state.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/room_state.cpp')
-rw-r--r--lib/csapi/room_state.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/csapi/room_state.cpp b/lib/csapi/room_state.cpp
index f6d2e6ec..2253863a 100644
--- a/lib/csapi/room_state.cpp
+++ b/lib/csapi/room_state.cpp
@@ -11,7 +11,7 @@ SetRoomStateWithKeyJob::SetRoomStateWithKeyJob(const QString& roomId,
const QString& stateKey,
const QJsonObject& body)
: BaseJob(HttpVerb::Put, QStringLiteral("SetRoomStateWithKeyJob"),
- makePath("/_matrix/client/r0", "/rooms/", roomId, "/state/",
+ makePath("/_matrix/client/v3", "/rooms/", roomId, "/state/",
eventType, "/", stateKey))
{
setRequestData(RequestData(toJson(body)));