aboutsummaryrefslogtreecommitdiffstats
path: root/include/follow.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-09-04 16:51:24 -0700
committerfriendica <info@friendica.com>2014-09-04 16:51:24 -0700
commitd1dfddbe80fb7d8415e50d387c4010b14869b7e6 (patch)
tree713a91fc03c06c023749ffe6443da645dae481e2 /include/follow.php
parent1102499c71f42ca06e5ddfab304dec0d12e9d629 (diff)
downloadvolse-hubzilla-d1dfddbe80fb7d8415e50d387c4010b14869b7e6.tar.gz
volse-hubzilla-d1dfddbe80fb7d8415e50d387c4010b14869b7e6.tar.bz2
volse-hubzilla-d1dfddbe80fb7d8415e50d387c4010b14869b7e6.zip
allow feeds to be sourced
Diffstat (limited to 'include/follow.php')
-rw-r--r--include/follow.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/follow.php b/include/follow.php
index 058f5d60b..18a9e66ea 100644
--- a/include/follow.php
+++ b/include/follow.php
@@ -221,7 +221,7 @@ function new_contact($uid,$url,$channel,$interactive = false, $confirm = false)
intval($uid),
dbesc($xchan_hash),
intval(($is_http) ? ABOOK_FLAG_FEED : 0),
- intval($their_perms),
+ intval(($is_http) ? $their_perms|PERMS_R_STREAM|PERMS_A_REPUBLISH : $their_perms),
intval($my_perms),
dbesc(datetime_convert()),
dbesc(datetime_convert())