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

Optimize update process #11

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

Optimize update process #11

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

Comments

@call-me-matt
Copy link
Owner

ignore contacts without social profiles

@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

For some reason the filter in the Contacts\IManager doesn't work as expected:
While this works fine:
$addressBook->search('', ['UID'], ['types' => true]);,
the following filter returns an empty set:
$addressBook->search('', ['X-SOCIALPROFILE'], ['types' => true]);

So it seems the social media profiles are not indexed and the only way is to check if the contact has the respective value set.

@call-me-matt
Copy link
Owner Author

Pull request created: nextcloud/server#22085

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