diff --git a/src/Network/Probe.php b/src/Network/Probe.php index ff364d12a..9655590dc 100644 --- a/src/Network/Probe.php +++ b/src/Network/Probe.php @@ -594,7 +594,7 @@ class Probe } foreach ($webfinger['links'] as $link) { - if ($link['rel'] === ActivityNamespace::OSTATUSSUB) { + if (!empty($link['template']) && ($link['rel'] === ActivityNamespace::OSTATUSSUB)) { $result['subscribe'] = $link['template']; } }