pull in some posts when first connecting to feeds

This commit is contained in:
friendica 2014-09-01 20:47:01 -07:00
parent f64abf3ad8
commit 5aa18a11af

View File

@ -26,10 +26,9 @@ function follow_init(&$a) {
// 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']);
goaway(z_root() . '/connedit/' . $result['abook']['abook_id'] . '?f=&follow=1');
}