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

Handle foreign address books #9

Open
call-me-matt opened this issue May 13, 2020 · 2 comments
Open

Handle foreign address books #9

call-me-matt opened this issue May 13, 2020 · 2 comments
Assignees

Comments

@call-me-matt
Copy link
Owner

Make sure a background job has access to the different user's address books.

@call-me-matt call-me-matt self-assigned this May 13, 2020
@call-me-matt
Copy link
Owner Author

call-me-matt commented May 13, 2020

Implemented and working, by creating a ContactsManager. There is a promising interface in Nextcloud v19, though: the IAddressBookProvider. Unfortunately I could not figure out how to use it until now, see help request.
The implementation should be optimized by

  • ignoring the system address book
  • ignoring disabled address books
  • operating only on user owned address books (not the shared ones from other users)

@call-me-matt
Copy link
Owner Author

System address books and shared address books can be filtered from NCv20 on:
nextcloud/server#22098
Deactivated address books seem to be more complicated:
nextcloud/server#17537

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant