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:
Richard Steinmetz 2023-01-06 11:32:13 +01:00 committed by GitHub
commit 753a66b309
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;
});
}