diff options
author | friendica <info@friendica.com> | 2012-09-20 17:04:22 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-09-20 17:04:22 -0700 |
commit | 6c92b5ab86d7f0fee775c2c485f5264ac2b206be (patch) | |
tree | 8d0782f0b2582e0b06fda370afcc435e5c4a6fad /include/Contact.php | |
parent | c8957b36ea11a41604330c8f87c0fc0611ef18e6 (diff) | |
download | volse-hubzilla-6c92b5ab86d7f0fee775c2c485f5264ac2b206be.tar.gz volse-hubzilla-6c92b5ab86d7f0fee775c2c485f5264ac2b206be.tar.bz2 volse-hubzilla-6c92b5ab86d7f0fee775c2c485f5264ac2b206be.zip |
separate the public feed from everything else
Diffstat (limited to 'include/Contact.php')
-rw-r--r-- | include/Contact.php | 5 |
1 files changed, 5 insertions, 0 deletions
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; |