fix: Multiple problems with SSO

This commit is contained in:
Christian Kußowski 2025-06-20 09:22:09 +02:00
commit 94013fb2c6
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
3 changed files with 9 additions and 4 deletions

View file

@ -166,8 +166,7 @@ class HomeserverPickerController extends State<HomeserverPicker> {
isLoading = true;
});
try {
final client = await Matrix.of(context).getLoginClient();
client.login(
await client.login(
LoginType.mLoginToken,
token: token,
initialDeviceDisplayName: PlatformInfos.clientName,