-
-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not try to start I/O before deleting account #4104
Comments
So solution could be to add an argument to skip
Why is |
for this in ArcaneChat we have |
thats also what the core pr does. But there is still the usability question whether account should be started automatically when it is selected despite being disabled or if it should just stay disabled until the user enables it again. |
This is also a preparation to fix b broken account deletion: #4104
...imported from ArcaneChat, generated by a newer version of core. Closes #4104.
...imported from ArcaneChat, generated by a newer version of core. Closes #4104.
This is also a preparation to fix b broken account deletion: #4104
...imported from ArcaneChat, generated by a newer version of core. Closes #4104.
Currently if an account is imported from Android nightly or DeltaLab (now ArcaneChat) into the current Desktop with stable core 1.142.11, it fails to start I/O with a toast "Failed to start I/O: Invalid configured_imap_certificate_checks value". This is expected, user will need to update to the new core or reconfigure an account to make it usable.
The problem is that it is impossible to delete such broken account in the current Desktop 1.46.7. When user right-clicks the profile and selects "Delete Profile", desktop calls
selectAccount
here:deltachat-desktop/src/renderer/ScreenController.tsx
Line 189 in 9fdd6ea
selectAccount
is this function that tries to start I/O and fails:deltachat-desktop/src/renderer/ScreenController.tsx
Lines 119 to 142 in 9fdd6ea
Desktop should not try to start I/O before deleting an account. If it fails, account cannot be deleted. Also if advanced setting "Only Synchronize Selected Profile" is enabled, I/O may have been stopped on purpose and starting I/O right before deleting an account is unnecessary.
The text was updated successfully, but these errors were encountered: