aboutsummaryrefslogtreecommitdiffstats
path: root/addon/twitter/twitter.php
diff options
context:
space:
mode:
Diffstat (limited to 'addon/twitter/twitter.php')
-rw-r--r--addon/twitter/twitter.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/addon/twitter/twitter.php b/addon/twitter/twitter.php
index aeb9cc937..7829799bc 100644
--- a/addon/twitter/twitter.php
+++ b/addon/twitter/twitter.php
@@ -195,6 +195,11 @@ function twitter_post_hook(&$a,&$b) {
if((local_user()) && (local_user() == $b['uid']) && (! $b['private']) && (! $b['parent']) ) {
+ // Twitter is not considered a private network
+ if($b['prvnets'])
+ return;
+
+
load_pconfig(local_user(), 'twitter');
$ckey = get_config('twitter', 'consumerkey' );