From: Michael Date: Mon, 30 Apr 2018 04:01:04 +0000 (+0000) Subject: "x-social-relay" now exposes all supported protocols X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=aa4945f4a01ae2a5d227afca5a51a5590aca81e4;p=friendica.git "x-social-relay" now exposes all supported protocols --- diff --git a/mod/_well_known.php b/mod/_well_known.php index c5bee3fdad..782dc7a1b1 100644 --- a/mod/_well_known.php +++ b/mod/_well_known.php @@ -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');