diff options
author | Richard Steinmetz <richard@steinmetz.cloud> | 2023-01-06 11:32:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-06 11:32:13 +0100 |
commit | 753a66b3090bda04583804e00959d0be48665173 (patch) | |
tree | a19faa2a7326d5c747c7fa2b49d950fbec1f7313 | |
parent | 1734b8441f7632eaf8e746eb822de3c9b9439ed3 (diff) | |
parent | 69d0981ada879af73ab74b4f0fb092b4e112e065 (diff) |
Merge pull request #3160 from nextcloud/backport/3154/stable4.2
[stable4.2] keep social avatar update order also for background job
-rw-r--r-- | lib/Service/SocialApiService.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/SocialApiService.php b/lib/Service/SocialApiService.php index cc32cbcc..caa6f373 100644 --- a/lib/Service/SocialApiService.php +++ b/lib/Service/SocialApiService.php @@ -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; }); } |