X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FProtocol%2FRelay.php;h=e7e878a02d7e60634641fedf6ef66d89ec6c5617;hb=0ec7991a20eafe673e4e8bf77bd32c0f6d047a19;hp=8761cd7f3dbfd83bc11e7c88283512a6f177edd6;hpb=21227453e5354fc98df9f26dec088cd6aad59c44;p=friendica.git diff --git a/src/Protocol/Relay.php b/src/Protocol/Relay.php index 8761cd7f3d..e7e878a02d 100644 --- a/src/Protocol/Relay.php +++ b/src/Protocol/Relay.php @@ -66,6 +66,11 @@ class Relay { $config = DI::config(); + if (Contact::hasFollowers($authorid)) { + Logger::info('Author has got followers on this server - accepted', ['network' => $network, 'url' => $url, 'author' => $authorid, 'tags' => $tags]); + return true; + } + $scope = $config->get('system', 'relay_scope'); if ($scope == self::SCOPE_NONE) {