Sync all users to the system addresssbook

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2020-10-06 13:31:11 +02:00
parent befd1aef42
commit c255dd3606
No known key found for this signature in database
GPG key ID: 7076EA9751AACDDA

View file

@ -322,7 +322,7 @@ class SyncService {
public function syncInstance(\Closure $progressCallback = null) {
$systemAddressBook = $this->getLocalSystemAddressBook();
$this->userManager->callForSeenUsers(function($user) use ($systemAddressBook, $progressCallback) {
$this->userManager->callForAllUsers(function($user) use ($progressCallback) {
$this->updateUser($user);
if (!is_null($progressCallback)) {
$progressCallback();