aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/openid.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/openid.cpp')
-rw-r--r--lib/csapi/openid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/csapi/openid.cpp b/lib/csapi/openid.cpp
index 5c93a2d7..8349e6db 100644
--- a/lib/csapi/openid.cpp
+++ b/lib/csapi/openid.cpp
@@ -9,7 +9,7 @@ using namespace Quotient;
RequestOpenIdTokenJob::RequestOpenIdTokenJob(const QString& userId,
const QJsonObject& body)
: BaseJob(HttpVerb::Post, QStringLiteral("RequestOpenIdTokenJob"),
- makePath("/_matrix/client/r0", "/user/", userId,
+ makePath("/_matrix/client/v3", "/user/", userId,
"/openid/request_token"))
{
setRequestData(RequestData(toJson(body)));