thunderbird / thunderbird-android

Thunderbird for Android – Open Source Email App for Android (fka K-9 Mail)
https://thunderbird.net/mobile
Apache License 2.0
11.02k stars 2.51k forks source link

Set delete policy on QR code import #8555

Closed cketti closed 1 week ago

cketti commented 1 week ago

Importing an IMAP account via QR code was using the default deletePolicy value from AccountSettingsDescriptions. This means deleting a message in Thunderbird for Android would only delete it locally, but not from the server.

This change uses DeletePolicyProvider to set the appropriate deletePolicy for the account type when importing an account via QR code.