mirror of https://github.com/nextcloud/contacts
Merge pull request #3160 from nextcloud/backport/3154/stable4.2
[stable4.2] keep social avatar update order also for background job
This commit is contained in:
commit
753a66b309
|
@ -204,7 +204,7 @@ class SocialApiService {
|
|||
}
|
||||
|
||||
foreach ($connectors as $connector) {
|
||||
$urls = array_filter(array_merge($connector->getImageUrls($contact), $urls), function ($url) {
|
||||
$urls = array_filter(array_merge($urls, $connector->getImageUrls($contact)), function ($url) {
|
||||
return filter_var($url, FILTER_VALIDATE_URL) !== false;
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue