diff options
author | Evan Prodromou <evan@status.net> | 2010-01-07 14:56:09 -0800 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-01-07 14:56:09 -0800 |
commit | c0a062dd8517a95acf8a7bdddddd4a397d791c1f (patch) | |
tree | 6a42bf82d92a266a2fa211197759a2d90ee70a23 /lib/ping.php | |
parent | b2bab7d7caddd7e57974e07c48663e1422853ebe (diff) | |
parent | 14421d9db31392c731fc6d298805f6f4fd216b8b (diff) |
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'lib/ping.php')
-rw-r--r-- | lib/ping.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ping.php b/lib/ping.php index 5698c4038..735af9ef1 100644 --- a/lib/ping.php +++ b/lib/ping.php @@ -21,7 +21,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } function ping_broadcast_notice($notice) { - if (!$notice->is_local) { + if ($notice->is_local != Notice::LOCAL_PUBLIC && $notice->is_local != Notice::LOCAL_NONPUBLIC) { return true; } @@ -115,4 +115,4 @@ function ping_notice_tags($notice) { return implode('|', $tags); } return NULL; -}
\ No newline at end of file +} |