aboutsummaryrefslogtreecommitdiffstats
path: root/include/follow.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2019-01-16 15:28:30 -0800
committerzotlabs <mike@macgirvin.com>2019-01-16 15:28:30 -0800
commiteaa375936fc3c23f1b6629cba56fce2eb116a1c6 (patch)
treee911e6524a3b1421c184fb4ea832fd87bc92ab98 /include/follow.php
parent7b30fc4b82da0a64e152cdeb82564f8d52b7177e (diff)
downloadvolse-hubzilla-eaa375936fc3c23f1b6629cba56fce2eb116a1c6.tar.gz
volse-hubzilla-eaa375936fc3c23f1b6629cba56fce2eb116a1c6.tar.bz2
volse-hubzilla-eaa375936fc3c23f1b6629cba56fce2eb116a1c6.zip
more z6 compatibility fixes
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 038e6e9c0..db77a0160 100644
--- a/include/follow.php
+++ b/include/follow.php
@@ -190,7 +190,7 @@ function new_contact($uid,$url,$channel,$interactive = false, $confirm = false)
return $result;
}
- $allowed = (($is_zot || $r[0]['xchan_network'] === 'rss') ? 1 : 0);
+ $allowed = (($is_zot || in_array($r[0]['xchan_network'],['rss','zot6'])) ? 1 : 0);
$x = array('channel_id' => $uid, 'follow_address' => $url, 'xchan' => $r[0], 'allowed' => $allowed, 'singleton' => 0);