aboutsummaryrefslogtreecommitdiffstats
path: root/include/follow.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-03-17 12:15:28 -0700
committerredmatrix <git@macgirvin.com>2016-03-17 12:15:28 -0700
commitf82afca84d19ba87cd911ec28638fb45a7f7e6f0 (patch)
tree9bd43ec950f6a66be323542b083475a5a171bf17 /include/follow.php
parenta83cdbeb39a915f77d24b316ce63197e0f5ca2d3 (diff)
downloadvolse-hubzilla-f82afca84d19ba87cd911ec28638fb45a7f7e6f0.tar.gz
volse-hubzilla-f82afca84d19ba87cd911ec28638fb45a7f7e6f0.tar.bz2
volse-hubzilla-f82afca84d19ba87cd911ec28638fb45a7f7e6f0.zip
no xchan here if using zot protocol
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 a428bd2a3..e71b0c713 100644
--- a/include/follow.php
+++ b/include/follow.php
@@ -175,7 +175,7 @@ function new_contact($uid,$url,$channel,$interactive = false, $confirm = false)
return $result;
}
- $allowed = (($r[0]['xchan_network'] === 'zot' || $r[0]['xchan_network'] === 'rss') ? 1 : 0);
+ $allowed = (($is_red || $r[0]['xchan_network'] === 'rss') ? 1 : 0);
$x = array('channel_id' => $uid, 'follow_address' => $url, 'xchan' => $r[0], 'allowed' => $allowed, 'singleton' => 0);