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:
Krille-chan 2026-03-03 17:29:41 +01:00 committed by GitHub
commit 2a50300d97
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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),
),
);