More standards

This commit is contained in:
Michael 2021-07-23 13:09:12 +00:00
parent 90d7360252
commit 2fae93d8fd

View file

@ -69,7 +69,7 @@ class VCard
if (in_array($contact['network'], Protocol::NATIVE_SUPPORT)) { if (in_array($contact['network'], Protocol::NATIVE_SUPPORT)) {
if (in_array($rel, [Contact::SHARING, Contact::FRIEND])) { if (in_array($rel, [Contact::SHARING, Contact::FRIEND])) {
$unfollow_link = 'unfollow?url=' . urlencode($contact['url']) . '&auto=1'; $unfollow_link = 'unfollow?url=' . urlencode($contact['url']) . '&auto=1';
} elseif(!$pending) { } elseif (!$pending) {
$follow_link = 'follow?url=' . urlencode($contact['url']) . '&auto=1'; $follow_link = 'follow?url=' . urlencode($contact['url']) . '&auto=1';
} }
} }