mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 18:50:47 -04:00
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:
parent
f4fc7daf73
commit
36473a3f63
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue