aboutsummaryrefslogtreecommitdiffstats
path: root/addon/facebook
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-06-23 01:57:14 -0700
committerFriendika <info@friendika.com>2011-06-23 01:57:14 -0700
commit96857389ac6a9ab11f0543da5b0af3895dfccfaf (patch)
tree12771d50402245181c43df95e3f9c5cdedaa7c2f /addon/facebook
parentaa4636d03a03718c5c5e58c17af40ee0104be2b6 (diff)
downloadvolse-hubzilla-96857389ac6a9ab11f0543da5b0af3895dfccfaf.tar.gz
volse-hubzilla-96857389ac6a9ab11f0543da5b0af3895dfccfaf.tar.bz2
volse-hubzilla-96857389ac6a9ab11f0543da5b0af3895dfccfaf.zip
friendika-z initial implementation
Diffstat (limited to 'addon/facebook')
-rw-r--r--addon/facebook/facebook.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/addon/facebook/facebook.php b/addon/facebook/facebook.php
index 15dffa594..4265ce801 100644
--- a/addon/facebook/facebook.php
+++ b/addon/facebook/facebook.php
@@ -431,6 +431,10 @@ function facebook_post_hook(&$a,&$b) {
if((local_user()) && (local_user() == $b['uid'])) {
+ // Facebook is not considered a private network
+ if($b['prvnets'])
+ return;
+
if($b['parent']) {
$r = q("SELECT * FROM `item` WHERE `id` = %d AND `uid` = %d LIMIT 1",
intval($b['parent']),