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 GitHub
parent c2c2e3ce52
commit e661d3cc99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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