"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 = [
"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');