diff options
Diffstat (limited to 'addon/twitter')
-rw-r--r-- | addon/twitter/twitter.php | 5 |
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' ); |