From 824d35774b695bd506ea160ce4ea45780b809635 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 29 May 2019 04:30:01 +0000 Subject: [PATCH] Fix "Undefined index: protocol" --- src/Protocol/Diaspora.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Protocol/Diaspora.php b/src/Protocol/Diaspora.php index 7bf0acbc49..98b0d4d3de 100644 --- a/src/Protocol/Diaspora.php +++ b/src/Protocol/Diaspora.php @@ -144,7 +144,7 @@ class Diaspora */ private static function getRelayContact($server_url) { - $fields = ['batch', 'id', 'name', 'network', 'archive', 'blocked']; + $fields = ['batch', 'id', 'name', 'network', 'protocol', 'archive', 'blocked']; // Fetch the relay contact $condition = ['uid' => 0, 'nurl' => Strings::normaliseLink($server_url), -- 2.39.5