"x-social-relay" now exposes all supported protocols
This commit is contained in:
parent
2c1b1841bb
commit
aa4945f4a0
1 changed files with 5 additions and 3 deletions
|
@ -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');
|
||||||
|
|
Loading…
Reference in a new issue