aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/to_device.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/to_device.cpp')
-rw-r--r--lib/csapi/to_device.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/csapi/to_device.cpp b/lib/csapi/to_device.cpp
index 628e8314..48e943db 100644
--- a/lib/csapi/to_device.cpp
+++ b/lib/csapi/to_device.cpp
@@ -10,7 +10,7 @@ SendToDeviceJob::SendToDeviceJob(
const QString& eventType, const QString& txnId,
const QHash<QString, QHash<QString, QJsonObject>>& messages)
: BaseJob(HttpVerb::Put, QStringLiteral("SendToDeviceJob"),
- makePath("/_matrix/client/r0", "/sendToDevice/", eventType, "/",
+ makePath("/_matrix/client/v3", "/sendToDevice/", eventType, "/",
txnId))
{
QJsonObject _data;