Commit b1cdb180 authored by Mario's avatar Mario Committed by Mario

diaspora regression from addon2app conversion


(cherry picked from commit 585f6776)
parent da185196
......@@ -176,7 +176,7 @@ function diaspora_webfinger(&$b) {
// Diaspora requires a salmon link.
// Use this *only* if the gnusoc plugin is not installed and enabled
if((! in_array('gnusoc',\App::$plugins)) || (! intval(get_pconfig($b['channel']['channel_id'],'system','gnusoc_allowed')))) {
if((! in_array('gnusoc',\App::$plugins)) || (! Apps::addon_app_installed($b['channel']['channel_id'], 'gnusoc'))) {
$b['result']['links'][] = [
'rel' => 'salmon',
'href' => z_root() . '/receive/users/' . $b['channel']['channel_guid'] . str_replace('.','',App::get_hostname())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment