]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #7958 from tobiasd/20191216-lng
authorPhilipp <admin+Github@philipp.info>
Mon, 16 Dec 2019 07:07:14 +0000 (08:07 +0100)
committerGitHub <noreply@github.com>
Mon, 16 Dec 2019 07:07:14 +0000 (08:07 +0100)
DE, ET, JA, NL and PL translation updates

src/Model/Contact.php

index 76c9cd01692f590760395616640682e3d4af3c4b..534c99d465e4453d784cd2aedd1b941d62faa263 100644 (file)
@@ -1230,7 +1230,7 @@ class Contact extends BaseObject
 
                $follow_link = '';
                $unfollow_link = '';
-               if (in_array($contact['network'], Protocol::NATIVE_SUPPORT)) {
+               if (!$contact['self'] && in_array($contact['network'], Protocol::NATIVE_SUPPORT)) {
                        if ($contact['uid'] && in_array($contact['rel'], [self::SHARING, self::FRIEND])) {
                                $unfollow_link = 'unfollow?url=' . urlencode($contact['url']);
                        } elseif(!$contact['pending']) {