Update lib/private/Contacts/ContactsMenu/ContactsStore.php

Signed-off-by: Andy Xheli <axheli@axtsolutions.com>

Tested no issues.

Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
This commit is contained in:
Andy Xheli 2022-09-20 12:05:29 -05:00 committed by backportbot-nextcloud[bot]
parent f4fc7daf73
commit 36473a3f63

View file

@ -285,8 +285,8 @@ class ContactsStore implements IContactsStore {
$entry = new Entry();
if (isset($contact['UID'])) {
$entry->setId($contact['UID']);
$uid = $contact['UID'];
$entry->setId($uid);
$avatar = $this->urlGenerator->linkToRouteAbsolute('core.avatar.getAvatar', ['userId' => $uid, 'size' => 64]);
$entry->setAvatar($avatar);
}