From 66aefba83a80dbc6ee2ed799b7e6a539ec315eca Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Sat, 8 Oct 2022 11:02:38 +0300 Subject: [PATCH] Switch to unstable path for login token generation call --- MatrixSDK/MXRestClient.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MatrixSDK/MXRestClient.m b/MatrixSDK/MXRestClient.m index 87b6f4326e..dcc248a6ca 100644 --- a/MatrixSDK/MXRestClient.m +++ b/MatrixSDK/MXRestClient.m @@ -911,7 +911,7 @@ - (MXHTTPOperation*)generateLoginTokenWithSuccess:(void (^)(MXLoginToken *))succ { MXWeakify(self); return [httpClient requestWithMethod:@"POST" - path:[NSString stringWithFormat:@"%@/login/token", apiPathPrefix] + path:[NSString stringWithFormat:@"%@/org.matrix.msc3882/login/token", kMXAPIPrefixPathUnstable] parameters:@{} success:^(NSDictionary *JSONResponse) { MXStrongifyAndReturnIfNil(self);