summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Steinmetz <richard@steinmetz.cloud>2023-01-06 11:32:27 +0100
committerGitHub <noreply@github.com>2023-01-06 11:32:27 +0100
commit5b8286358ac853dcd081eef6a3ed5175e3edf74c (patch)
tree2e57bff4cc00089bd46b65e3b85ecfbbf89b9e66
parent6cba2d6bb0740da71b5283660277f6b12405cae9 (diff)
parentf5b3990401de08f6edcb066d12f8a86fa8067c46 (diff)
Merge pull request #3159 from nextcloud/backport/3154/stable5.0
[stable5.0] keep social avatar update order also for background job
-rw-r--r--lib/Service/SocialApiService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/SocialApiService.php b/lib/Service/SocialApiService.php
index 26a9adb2..397d8c30 100644
--- a/lib/Service/SocialApiService.php
+++ b/lib/Service/SocialApiService.php
@@ -207,7 +207,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;
});
}