separate the public feed from everything else

This commit is contained in:
friendica
2012-09-20 17:04:22 -07:00
parent c8957b36ea
commit 6c92b5ab86
7 changed files with 261 additions and 54 deletions

View File

@@ -8,6 +8,11 @@ function map_perms($entity,$zguid,$zsig) {
$is_network = false;
$is_anybody = true;
// To avoid sending the lengthy target_sig with each request,
// We should provide an array of results for each target
// and let the sender match the signature.
if(strlen($zguid) && strlen($zsig)) {
$is_network = true;