added url for magic link again

This commit is contained in:
Philipp Holzer 2019-05-02 23:39:20 +02:00
parent a5d33444ee
commit 83e5fe2539
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5

View file

@ -71,13 +71,13 @@ class AllFriends extends BaseModule
} else {
$connlnk = $app->getBaseURL() . '/follow/?url=' . $friend['url'];
$photoMenu = [
'profile' => [L10n::t('View Profile'), Model\Contact::magicLinkbyId($friend['id'])],
'profile' => [L10n::t('View Profile'), Model\Contact::magicLinkbyId($friend['id'], $friend['url'])],
'follow' => [L10n::t('Connect/Follow'), $connlnk]
];
}
$entry = [
'url' => Model\Contact::magicLinkbyId($friend['id']),
'url' => Model\Contact::magicLinkbyId($friend['id'], $friend['url']),
'itemurl' => defaults($contactDetails, 'addr', $friend['url']),
'name' => $contactDetails['name'],
'thumb' => ProxyUtils::proxifyUrl($contactDetails['thumb'], false, ProxyUtils::SIZE_THUMB),