aboutsummaryrefslogtreecommitdiffstats
path: root/mod/follow.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/follow.php')
-rw-r--r--mod/follow.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/mod/follow.php b/mod/follow.php
index 1d29dab2e..364fe76b9 100644
--- a/mod/follow.php
+++ b/mod/follow.php
@@ -24,6 +24,12 @@ function follow_init(&$a) {
info( t('Channel added.') . EOL);
+ // If we can view their stream, pull in some posts
+
+ if($result['abook']['abook_their_perms'] & PERMS_R_STREAM)
+ proc_run('php','include/onepoll.php',$result['abook']['abook_id']);
+
+
goaway(z_root() . '/connections/' . $result['abook']['abook_id']);
}