Issue 9229: Show unfollow with known contacts
This commit is contained in:
@@ -952,7 +952,7 @@ class Contact extends BaseModule
|
||||
if (DBA::isResult($contact)) {
|
||||
DI::page()['aside'] = '';
|
||||
|
||||
$profiledata = Model\Contact::getByURL($contact['url'], false);
|
||||
$profiledata = Model\Contact::getByURLForUser($contact['url'], local_user());
|
||||
|
||||
Model\Profile::load($a, '', $profiledata, true);
|
||||
|
||||
@@ -975,7 +975,7 @@ class Contact extends BaseModule
|
||||
if (DBA::isResult($contact)) {
|
||||
DI::page()['aside'] = '';
|
||||
|
||||
$profiledata = Model\Contact::getByURL($contact['url'], false);
|
||||
$profiledata = Model\Contact::getByURLForUser($contact['url'], local_user());
|
||||
|
||||
if (local_user() && in_array($profiledata['network'], Protocol::FEDERATED)) {
|
||||
$profiledata['remoteconnect'] = DI::baseUrl() . '/follow?url=' . urlencode($profiledata['url']);
|
||||
|
||||
Reference in New Issue
Block a user