Update ContactsStore.php

Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
This commit is contained in:
Andy Xheli 2022-09-19 09:06:12 -05:00 committed by backportbot-nextcloud[bot]
parent 31e5e102c1
commit f4fc7daf73

View 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);
}