aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Contacts
diff options
context:
space:
mode:
authorAndy Xheli <axheli@axtsolutions.com>2022-09-19 09:06:12 -0500
committerGitHub <noreply@github.com>2022-09-19 09:06:12 -0500
commite661d3cc99d4d3b7810da0b2636286725d13efb1 (patch)
treedb99f374a8a0ffdc9c81b2110761022fc9fad076 /lib/private/Contacts
parentc2c2e3ce52c1689bcf5d99c3b945a4715f952b95 (diff)
downloadnextcloud-server-e661d3cc99d4d3b7810da0b2636286725d13efb1.tar.gz
nextcloud-server-e661d3cc99d4d3b7810da0b2636286725d13efb1.zip
Update ContactsStore.php
Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
Diffstat (limited to 'lib/private/Contacts')
-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 aac213f6aa4..112a708f980 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);
}