mirror of
https://github.com/friendica/friendica
synced 2025-04-22 11:50:11 +00:00
Diaspora relay functionality is removed
This commit is contained in:
parent
cd8ce7eada
commit
bf8cb39102
9 changed files with 333 additions and 345 deletions
|
@ -35,13 +35,7 @@ class XSocialRelay extends BaseModule
|
|||
{
|
||||
$config = DI::config();
|
||||
|
||||
$subscribe = $config->get('system', 'relay_subscribe', false);
|
||||
|
||||
if ($subscribe) {
|
||||
$scope = $config->get('system', 'relay_scope', SR_SCOPE_ALL);
|
||||
} else {
|
||||
$scope = SR_SCOPE_NONE;
|
||||
}
|
||||
$scope = $config->get('system', 'relay_scope');
|
||||
|
||||
$systemTags = [];
|
||||
$userTags = [];
|
||||
|
@ -63,7 +57,7 @@ class XSocialRelay extends BaseModule
|
|||
$tagList = array_unique(array_merge($systemTags, $userTags));
|
||||
|
||||
$relay = [
|
||||
'subscribe' => $subscribe,
|
||||
'subscribe' => ($scope != SR_SCOPE_NONE),
|
||||
'scope' => $scope,
|
||||
'tags' => $tagList,
|
||||
'protocols' => [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue