Merge pull request #2635 from krille-chan/krille/erase-account-on-deactivation
chore: Set erase flag true on account deactivation
This commit is contained in:
commit
2a50300d97
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
Add a link
Reference in a new issue