mirror of
https://github.com/nextcloud/server.git
synced 2026-03-05 15:01:16 -05:00
Apply suggestions from code review
Signed-off-by: Andy Xheli <axheli@axtsolutions.com> Co-authored-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
This commit is contained in:
parent
511ade9497
commit
31e5e102c1
1 changed files with 1 additions and 1 deletions
|
|
@ -287,7 +287,7 @@ class ContactsStore implements IContactsStore {
|
|||
if (isset($contact['UID'])) {
|
||||
$entry->setId($contact['UID']);
|
||||
$uid = $contact['UID'];
|
||||
$avatar = "/index.php/avatar/$uid/64";
|
||||
$avatar = $this->urlGenerator->linkToRoute('core.getAvatar', ['userId' => $uid, 'size' => 64]);
|
||||
$entry->setAvatar($avatar);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue