refactor: update to matrix 6.0.0

This commit is contained in:
Christian Kußowski 2026-01-29 18:04:58 +01:00
commit f31887b6d2
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
5 changed files with 30 additions and 21 deletions

View file

@ -55,7 +55,8 @@ class DevicesSettingsController extends State<DevicesSettings> {
void removeDevicesAction(List<Device> devices) async {
final client = Matrix.of(context).client;
final accountManageUrl = client.wellKnown?.additionalProperties
final wellKnown = await client.getWellknown();
final accountManageUrl = wellKnown.additionalProperties
.tryGetMap<String, Object?>('org.matrix.msc2965.authentication')
?.tryGet<String>('account');
if (accountManageUrl != null) {