diff options
Diffstat (limited to 'include/follow.php')
-rw-r--r-- | include/follow.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/follow.php b/include/follow.php index d803afa3f..964c43ff2 100644 --- a/include/follow.php +++ b/include/follow.php @@ -158,7 +158,7 @@ function new_contact($uid,$url,$channel,$interactive = false, $confirm = false) $feeds = get_config('system','feed_contacts'); - if(($feeds) && ($protocol === '' || $protocol === 'feed')) { + if(($feeds) && ($protocol === '' || $protocol === 'feed' || $protocol === 'rss')) { $d = discover_by_url($url); } else { @@ -204,7 +204,7 @@ function new_contact($uid,$url,$channel,$interactive = false, $confirm = false) $singleton = intval($x['singleton']); $aid = $channel['channel_account_id']; - $hash = get_observer_hash(); + $hash = $channel['channel_hash']; $default_group = $channel['channel_default_group']; if($hash == $xchan_hash) { |