chore: Set erase flag true on account deactivation

This commit is contained in:
krille-chan 2026-03-03 17:07:20 +01:00
parent 2b17e7401b
commit 652152481c
No known key found for this signature in database

View file

@ -79,7 +79,9 @@ class SettingsSecurityController extends State<SettingsSecurity> {
delay: false,
future: () =>
Matrix.of(context).client.uiaRequestBackground<IdServerUnbindResult?>(
(auth) => Matrix.of(context).client.deactivateAccount(auth: auth),
(auth) => Matrix.of(
context,
).client.deactivateAccount(auth: auth, erase: true),
),
);