]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/Widget/VCard.php
Restructure Cache to follow new paradigm
[friendica.git] / src / Content / Widget / VCard.php
index a44f8f0b4a7ece6400864b04f25135620ebe76da..38b75272f52e0daeb8899ba34531ae1cdcfca595 100644 (file)
@@ -75,7 +75,7 @@ class VCard
                                $pending = $pcontact['pending'] ?? false;
                        }
 
-                       if (in_array($contact['network'], Protocol::NATIVE_SUPPORT)) {
+                       if (!$contact['self'] && Protocol::supportsFollow($contact['network'])) {
                                if (in_array($rel, [Contact::SHARING, Contact::FRIEND])) {
                                        $unfollow_link = 'unfollow?url=' . urlencode($contact['url']) . '&auto=1';
                                } elseif (!$pending) {