]> source.dussan.org Git - nextcloud-server.git/commitdiff
Update ContactsStore.php
authorAndy Xheli <axheli@axtsolutions.com>
Mon, 19 Sep 2022 14:06:12 +0000 (09:06 -0500)
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>
Wed, 5 Oct 2022 08:42:08 +0000 (08:42 +0000)
Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
lib/private/Contacts/ContactsMenu/ContactsStore.php

index a9e0439f1fb139742c56e38f9b887e0ede9f9424..d6ce2f0f2eaa4a31467c95eb58d22d0d2f35012f 100644 (file)
@@ -287,7 +287,7 @@ class ContactsStore implements IContactsStore {
                if (isset($contact['UID'])) {
                        $entry->setId($contact['UID']);
                        $uid = $contact['UID'];
-                       $avatar = $this->urlGenerator->linkToRoute('core.getAvatar', ['userId' => $uid, 'size' => 64]);
+                       $avatar = $this->urlGenerator->linkToRouteAbsolute('core.avatar.getAvatar', ['userId' => $uid, 'size' => 64]);
                        $entry->setAvatar($avatar);
                }