mirror of
https://github.com/friendica/friendica
synced 2025-04-22 21:10:10 +00:00
Issue 9229: Show unfollow with known contacts
This commit is contained in:
parent
b9a61e5bfb
commit
bf2ca5fcf9
2 changed files with 3 additions and 3 deletions
|
@ -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']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue