chore: Set erase flag true on account deactivation
This commit is contained in:
parent
2b17e7401b
commit
652152481c
1 changed files with 3 additions and 1 deletions
|
|
@ -79,7 +79,9 @@ class SettingsSecurityController extends State<SettingsSecurity> {
|
||||||
delay: false,
|
delay: false,
|
||||||
future: () =>
|
future: () =>
|
||||||
Matrix.of(context).client.uiaRequestBackground<IdServerUnbindResult?>(
|
Matrix.of(context).client.uiaRequestBackground<IdServerUnbindResult?>(
|
||||||
(auth) => Matrix.of(context).client.deactivateAccount(auth: auth),
|
(auth) => Matrix.of(
|
||||||
|
context,
|
||||||
|
).client.deactivateAccount(auth: auth, erase: true),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue