Merge pull request #1927 from annando/issue-1914

Issue 1914: A feed was falsely detected as OStatus
This commit is contained in:
Tobias Diekershoff 2015-10-04 08:54:01 +02:00
commit 5d6f02da41

View File

@ -552,7 +552,7 @@ function probe_url($url, $mode = PROBE_NORMAL, $level = 1) {
if($network !== NETWORK_ZOT && $network !== NETWORK_DFRN && $network !== NETWORK_MAIL) { if($network !== NETWORK_ZOT && $network !== NETWORK_DFRN && $network !== NETWORK_MAIL) {
if($diaspora) if($diaspora)
$network = NETWORK_DIASPORA; $network = NETWORK_DIASPORA;
elseif($has_lrdd) elseif($has_lrdd AND ($notify))
$network = NETWORK_OSTATUS; $network = NETWORK_OSTATUS;
if(strpos($url,'@')) if(strpos($url,'@'))