Merge pull request #2659 from annando/1607-bugfix-scrape-diaspora

Bugfix: The notify value for Diaspora wasn't assigned
This commit is contained in:
Tobias Diekershoff 2016-07-02 22:07:41 +02:00 committed by GitHub
commit ce64955fe0

View file

@ -604,7 +604,8 @@ function probe_url($url, $mode = PROBE_NORMAL, $level = 1) {
$pubkey = $hcard_key;
}
}
if(($network != "") && $diaspora_base && $diaspora_guid) {
if(($network == "") && $diaspora_base && $diaspora_guid) {
$diaspora_notify = $diaspora_base.'receive/users/'.$diaspora_guid;
$diaspora = true;