From 83e5fe25397cafed6f047509fbd385b3a0bcd991 Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Thu, 2 May 2019 23:39:20 +0200 Subject: [PATCH] added url for magic link again --- src/Module/AllFriends.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Module/AllFriends.php b/src/Module/AllFriends.php index 238223aee0..b0e6ea1490 100644 --- a/src/Module/AllFriends.php +++ b/src/Module/AllFriends.php @@ -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),