aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/read_markers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/read_markers.cpp')
-rw-r--r--lib/csapi/read_markers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/csapi/read_markers.cpp b/lib/csapi/read_markers.cpp
index f2edb71e..dc84f887 100644
--- a/lib/csapi/read_markers.cpp
+++ b/lib/csapi/read_markers.cpp
@@ -10,7 +10,7 @@ SetReadMarkerJob::SetReadMarkerJob(const QString& roomId,
const QString& mFullyRead,
const QString& mRead)
: BaseJob(HttpVerb::Post, QStringLiteral("SetReadMarkerJob"),
- makePath("/_matrix/client/r0", "/rooms/", roomId, "/read_markers"))
+ makePath("/_matrix/client/v3", "/rooms/", roomId, "/read_markers"))
{
QJsonObject _data;
addParam<>(_data, QStringLiteral("m.fully_read"), mFullyRead);