pull in some posts when first connecting to feeds
This commit is contained in:
parent
f64abf3ad8
commit
5aa18a11af
@ -26,10 +26,9 @@ function follow_init(&$a) {
|
|||||||
|
|
||||||
// If we can view their stream, pull in some posts
|
// If we can view their stream, pull in some posts
|
||||||
|
|
||||||
if($result['abook']['abook_their_perms'] & PERMS_R_STREAM)
|
if(($result['abook']['abook_their_perms'] & PERMS_R_STREAM) || ($result['abook']['xchan_network'] === 'rss'))
|
||||||
proc_run('php','include/onepoll.php',$result['abook']['abook_id']);
|
proc_run('php','include/onepoll.php',$result['abook']['abook_id']);
|
||||||
|
|
||||||
|
|
||||||
goaway(z_root() . '/connedit/' . $result['abook']['abook_id'] . '?f=&follow=1');
|
goaway(z_root() . '/connedit/' . $result['abook']['abook_id'] . '?f=&follow=1');
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user