Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndy Xheli <axheli@axtsolutions.com>2022-09-19 17:06:12 +0300
committerVincent Petry (Rebase PR Action) <PVince81@users.noreply.github.com>2022-10-27 13:04:06 +0300
commita5be8ddf6dddaef60063abf1450cb88fbc367249 (patch)
tree3f02f79272b9f57970f23e09f4e7a1f020d9e028 /lib
parent98e9414c70784d37fccb2b7c06a9dd2a59af6b12 (diff)
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 19f6e9ae3c9..cde6441bc67 100644
--- a/lib/private/Contacts/ContactsMenu/ContactsStore.php
+++ b/lib/private/Contacts/ContactsMenu/ContactsStore.php
@@ -315,7 +315,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);
}