aboutsummaryrefslogtreecommitdiffstats
path: root/mod/zfinger.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-22 00:20:25 -0800
committerfriendica <info@friendica.com>2013-01-22 00:20:25 -0800
commitbda4ca4c0d9f247675f4c241ecb0d402bb380d8f (patch)
tree20c00db16790b04f61d33934489b38848e7accd2 /mod/zfinger.php
parentfb76675a28b37b7281546373671d0dabbd69ef46 (diff)
downloadvolse-hubzilla-bda4ca4c0d9f247675f4c241ecb0d402bb380d8f.tar.gz
volse-hubzilla-bda4ca4c0d9f247675f4c241ecb0d402bb380d8f.tar.bz2
volse-hubzilla-bda4ca4c0d9f247675f4c241ecb0d402bb380d8f.zip
hidden directory entries
Diffstat (limited to 'mod/zfinger.php')
-rw-r--r--mod/zfinger.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/zfinger.php b/mod/zfinger.php
index 3452db68c..2fb169ef1 100644
--- a/mod/zfinger.php
+++ b/mod/zfinger.php
@@ -72,7 +72,8 @@ function zfinger_init(&$a) {
$id = $e['channel_id'];
$searchable = (($e['channel_pageflags'] & PAGE_HIDDEN) ? false : true);
-
+ if($e['xchan_flags'] & XCHAN_FLAGS_HIDDEN)
+ $searchable = false;
// This is for birthdays and keywords, but must check access permissions