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