aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/redaction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/redaction.cpp')
-rw-r--r--lib/csapi/redaction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/csapi/redaction.cpp b/lib/csapi/redaction.cpp
index acf1b0e4..d67cb37b 100644
--- a/lib/csapi/redaction.cpp
+++ b/lib/csapi/redaction.cpp
@@ -9,7 +9,7 @@ using namespace Quotient;
RedactEventJob::RedactEventJob(const QString& roomId, const QString& eventId,
const QString& txnId, const QString& reason)
: BaseJob(HttpVerb::Put, QStringLiteral("RedactEventJob"),
- makePath("/_matrix/client/r0", "/rooms/", roomId, "/redact/",
+ makePath("/_matrix/client/v3", "/rooms/", roomId, "/redact/",
eventId, "/", txnId))
{
QJsonObject _data;