]> git.mxchange.org Git - friendica.git/commitdiff
"x-social-relay" now exposes all supported protocols
authorMichael <heluecht@pirati.ca>
Mon, 30 Apr 2018 04:01:04 +0000 (04:01 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 30 Apr 2018 04:01:04 +0000 (04:01 +0000)
mod/_well_known.php

index c5bee3fdad4b49280b6f9543353fbe5a5524df50..782dc7a1b145973eb2a1b061701f89c37ac17d80 100644 (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');