aboutsummaryrefslogtreecommitdiffstats
path: root/addon/twitter
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/twitter
parentaa4636d03a03718c5c5e58c17af40ee0104be2b6 (diff)
downloadvolse-hubzilla-96857389ac6a9ab11f0543da5b0af3895dfccfaf.tar.gz
volse-hubzilla-96857389ac6a9ab11f0543da5b0af3895dfccfaf.tar.bz2
volse-hubzilla-96857389ac6a9ab11f0543da5b0af3895dfccfaf.zip
friendika-z initial implementation
Diffstat (limited to 'addon/twitter')
-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' );