summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAndy Xheli <axheli@axtsolutions.com>2022-09-19 09:06:12 -0500
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>2022-10-05 08:42:08 +0000
commitf4fc7daf73aeb3b380fa5a00cee1fe6c46ec9a10 (patch)
treedd31288739d387a57c4be5b39f4bc98045d3eaf2 /lib
parent31e5e102c1b97bd285dc6930cd575e337741fc6d (diff)
downloadnextcloud-server-f4fc7daf73aeb3b380fa5a00cee1fe6c46ec9a10.tar.gz
nextcloud-server-f4fc7daf73aeb3b380fa5a00cee1fe6c46ec9a10.zip
Update ContactsStore.php
Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Contacts/ContactsMenu/ContactsStore.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Contacts/ContactsMenu/ContactsStore.php b/lib/private/Contacts/ContactsMenu/ContactsStore.php
index a9e0439f1fb..d6ce2f0f2ea 100644
--- a/lib/private/Contacts/ContactsMenu/ContactsStore.php
+++ b/lib/private/Contacts/ContactsMenu/ContactsStore.php
@@ -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);
}