Skip to content

Remove concept of main accounts #878

Closed
@rfc2822

Description

@rfc2822

Since the sync is being performed with workers instead of the Sync Adapter Framework, the concept of a "main account" for address book accounts has become obsolete.

We still need address book accounts for storing address books, but they are no longer required to be tied to a "main" account and could from now on exist on their own.

We should remove the concept of a "main" account as much as possible and maybe deprecate it where too hard to remove right now.

  • We can find the "main" account for an address book in it's corresponding DB collection (via serviceId).
  • We can find all (or specific) address books of a "main" account via the DB carddav collections as well. The URL is the common property between a DB carddav collection and a LocalAddressBook collection. Note that the association should in the future be made via ID.

Depends on #875
Depends on bitfireAT/davx5#603

Metadata

Metadata

Assignees

Labels

refactoringInternal improvement of existing functions

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions