-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
Add API to enable/disable accounts in account manager #4296
Labels
enhancement
New feature or request
Comments
Desktop currently has implemented an UI hack that disables background synchronization for all accounts, and this feature is about implementing a per-account switch telling whether the account should be synchronized in background or not. |
5 tasks
Draft PR: #5314 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In account manager it should be possible to disable accounts in such a way that they are not started when
dc_accounts_start_io()
is called.It could be implemented as
dc_accounts_enable(account_id: u32, enabled: bool)
anddc_accounts_is_account_enabled(account_id: u32) -> bool
calls.Whether account is enabled or not should be written into
accounts.toml
. #4295 should be fixed before tackling this issue, because otherwise each toggle of account status may fail and corruptaccounts.toml
.The text was updated successfully, but these errors were encountered: