mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 02:05:19 +02:00
Diaspora Relay: Only accept postings from anyone when the relay is configured
This commit is contained in:
parent
8d2c74eb3c
commit
40390cc5ec
3 changed files with 90 additions and 72 deletions
11
boot.php
11
boot.php
|
@ -430,6 +430,17 @@ define('PRIORITY_LOW', 40);
|
|||
define('PRIORITY_NEGLIGIBLE',50);
|
||||
/* @}*/
|
||||
|
||||
/**
|
||||
* @name Social Relay settings
|
||||
*
|
||||
* See here: https://github.com/jaywink/social-relay
|
||||
* and here: https://wiki.diasporafoundation.org/Relay_servers_for_public_posts
|
||||
* @{
|
||||
*/
|
||||
define('SR_SCOPE_NONE', '');
|
||||
define('SR_SCOPE_ALL', 'all');
|
||||
define('SR_SCOPE_TAGS', 'tags');
|
||||
/* @}*/
|
||||
|
||||
// Normally this constant is defined - but not if "pcntl" isn't installed
|
||||
if (!defined("SIGTERM"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue