aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-09-01 20:47:01 -0700
committerfriendica <info@friendica.com>2014-09-01 20:47:01 -0700
commit5aa18a11af4ec4d40834abdcc06c2914f9296eb5 (patch)
tree38fb95d3f83df8bc46204a5f5ef83993600ae8a8 /mod
parentf64abf3ad8b5c753a3e47669c69c4acda9696e5e (diff)
downloadvolse-hubzilla-5aa18a11af4ec4d40834abdcc06c2914f9296eb5.tar.gz
volse-hubzilla-5aa18a11af4ec4d40834abdcc06c2914f9296eb5.tar.bz2
volse-hubzilla-5aa18a11af4ec4d40834abdcc06c2914f9296eb5.zip
pull in some posts when first connecting to feeds
Diffstat (limited to 'mod')
-rw-r--r--mod/follow.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/follow.php b/mod/follow.php
index 663fb7536..e480a0964 100644
--- a/mod/follow.php
+++ b/mod/follow.php
@@ -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');
}