summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcall-me-matt <nextcloud@matthiasheinisch.de>2023-01-02 15:51:55 +0100
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>2023-01-06 10:13:44 +0000
commit69d0981ada879af73ab74b4f0fb092b4e112e065 (patch)
treea19faa2a7326d5c747c7fa2b49d950fbec1f7313
parent1734b8441f7632eaf8e746eb822de3c9b9439ed3 (diff)
keep social avatar update order also for background job
Signed-off-by: call-me-matt <nextcloud@matthiasheinisch.de>
-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 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;
});
}