refactor: update to matrix 6.0.0
This commit is contained in:
parent
fa27ab2141
commit
f31887b6d2
5 changed files with 30 additions and 21 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue