"x-social-relay" now exposes all supported protocols

This commit is contained in:
Michael 2018-04-30 04:01:04 +00:00
parent 2c1b1841bb
commit aa4945f4a0

View file

@ -70,9 +70,11 @@ function wk_social_relay()
} }
$relay = [ $relay = [
"subscribe" => $subscribe, 'subscribe' => $subscribe,
"scope" => $scope, 'scope' => $scope,
"tags" => $taglist 'tags' => $taglist,
'protocols' => ['diaspora' => System::baseUrl() . '/receive/public',
'dfrn' => System::baseUrl() . '/dfrn_notify']
]; ];
header('Content-type: application/json; charset=utf-8'); header('Content-type: application/json; charset=utf-8');