mirror of
https://github.com/friendica/friendica
synced 2025-05-01 06:24:22 +02:00
Create Contact\Unfollow module class
This commit is contained in:
parent
a1e6e13a9f
commit
58d6e7e2bb
5 changed files with 189 additions and 4 deletions
|
@ -83,7 +83,7 @@ class VCard
|
|||
|
||||
if (empty($contact['self']) && Protocol::supportsFollow($contact['network'])) {
|
||||
if (in_array($rel, [Contact::SHARING, Contact::FRIEND])) {
|
||||
$unfollow_link = 'unfollow?url=' . urlencode($contact['url']) . '&auto=1';
|
||||
$unfollow_link = 'contact/unfollow?url=' . urlencode($contact['url']) . '&auto=1';
|
||||
} elseif (!$pending) {
|
||||
$follow_link = 'follow?url=' . urlencode($contact['url']) . '&auto=1';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue