/main/all will give a network-wide public stream
Qvitter had implemented this as a "PublicAndExternal" stream, but I figured we might as well put it into the GNU social core.
This commit is contained in:
@@ -949,8 +949,12 @@ class Router
|
||||
}
|
||||
} else {
|
||||
$m->connect('main/public', array('action' => 'public'));
|
||||
$m->connect('', array('action' => 'public'));
|
||||
$m->connect('main/all', array('action' => 'networkpublic'));
|
||||
if (common_config('site', 'localonly')) {
|
||||
$m->connect('', array('action' => 'public'));
|
||||
} else {
|
||||
$m->connect('', array('action' => 'networkpublic'));
|
||||
}
|
||||
$m->connect('rss', array('action' => 'publicrss'));
|
||||
$m->connect('featuredrss', array('action' => 'featuredrss'));
|
||||
$m->connect('featured/', array('action' => 'featured'));
|
||||
|
Reference in New Issue
Block a user