Skip to content
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

Address book accounts: bind to accounts (again) #1184

Conversation

rfc2822
Copy link
Member

@rfc2822 rfc2822 commented Dec 20, 2024

This PR shall resolve these issues:

  • orphaned address books are not removed in time,
  • address books are removed randomly when multiple accounts are used.

In previous versions, the binding from address books to accounts has been removed. However this caused problems because Syncer then can't get a list of address books of the current account, and then mixes some operations (like deletion) with other accounts.

This PR binds address books to accounts again. However it still cleanly separates address books (address book accounts) from accounts. For instance, AccountsSettings() still can never be created for an address book (like in earlier DAVx5 versions).

@rfc2822 rfc2822 linked an issue Dec 20, 2024 that may be closed by this pull request
2 tasks
@rfc2822 rfc2822 self-assigned this Dec 20, 2024
@rfc2822 rfc2822 added the bug Something isn't working label Dec 20, 2024
@rfc2822 rfc2822 marked this pull request as ready for review December 20, 2024 20:23
@rfc2822 rfc2822 merged commit 03a52e9 into main-ose Dec 21, 2024
8 of 9 checks passed
@rfc2822 rfc2822 deleted the 1179-address-books-removed-randomly-with-multiple-accounts-in-445-beta branch December 21, 2024 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Address books removed randomly with multiple accounts in 4.4.5 (beta)
1 participant