From aa4945f4a01ae2a5d227afca5a51a5590aca81e4 Mon Sep 17 00:00:00 2001
From: Michael <heluecht@pirati.ca>
Date: Mon, 30 Apr 2018 04:01:04 +0000
Subject: [PATCH] "x-social-relay" now exposes all supported protocols

---
 mod/_well_known.php | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

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');
-- 
2.39.5