From 6c92b5ab86d7f0fee775c2c485f5264ac2b206be Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 20 Sep 2012 17:04:22 -0700 Subject: separate the public feed from everything else --- include/Contact.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/Contact.php') diff --git a/include/Contact.php b/include/Contact.php index 571c956f1..d4d29b297 100644 --- a/include/Contact.php +++ b/include/Contact.php @@ -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; -- cgit v1.2.3