diff options
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; |