Fix "Undefined index: protocol"
This commit is contained in:
parent
e557457158
commit
824d35774b
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ class Diaspora
|
||||||
*/
|
*/
|
||||||
private static function getRelayContact($server_url)
|
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
|
// Fetch the relay contact
|
||||||
$condition = ['uid' => 0, 'nurl' => Strings::normaliseLink($server_url),
|
$condition = ['uid' => 0, 'nurl' => Strings::normaliseLink($server_url),
|
||||||
|
|
Loading…
Reference in a new issue