diff options
author | redmatrix <git@macgirvin.com> | 2016-03-17 12:15:28 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-03-17 12:15:28 -0700 |
commit | f82afca84d19ba87cd911ec28638fb45a7f7e6f0 (patch) | |
tree | 9bd43ec950f6a66be323542b083475a5a171bf17 /include/follow.php | |
parent | a83cdbeb39a915f77d24b316ce63197e0f5ca2d3 (diff) | |
download | volse-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.php | 2 |
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); |