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

pull/4961/head
Michael 2018-04-30 04:01:04 +00:00
parent 2c1b1841bb
commit aa4945f4a0
1 changed files with 5 additions and 3 deletions

View File

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