fix: Update manual endpoints

This commit is contained in:
Krille 2023-12-22 12:43:43 +01:00
parent 46d9879a45
commit e2a251b3fe
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
2 changed files with 3 additions and 3 deletions

View file

@ -86,7 +86,7 @@ class HomeserverPickerController extends State<HomeserverPicker> {
if (supportsSso) {
_rawLoginTypes = await client.request(
RequestType.GET,
'/client/r0/login',
'/client/v3/login',
);
}
} catch (e) {
@ -121,7 +121,7 @@ class HomeserverPickerController extends State<HomeserverPicker> {
: 'http://localhost:3001//login';
final url = Matrix.of(context).getLoginClient().homeserver!.replace(
path: '/_matrix/client/r0/login/sso/redirect${id == null ? '' : '/$id'}',
path: '/_matrix/client/v3/login/sso/redirect${id == null ? '' : '/$id'}',
queryParameters: {'redirectUrl': redirectUrl},
);

View file

@ -227,7 +227,7 @@ class LoginController extends State<Login> {
context: context,
future: () => Matrix.of(context).getLoginClient().request(
RequestType.POST,
'/client/r0/account/password',
'/client/v3/account/password',
data: data,
),
);