Preparation for adding more networks there
This commit is contained in:
parent
c2f6b166c7
commit
7b45bdea17
1 changed files with 1 additions and 1 deletions
|
@ -333,7 +333,7 @@ class Probe
|
|||
$data = self::detect($uri, $network, $uid);
|
||||
}
|
||||
|
||||
if (empty($data) || ($data['network'] == Protocol::PHANTOM)) {
|
||||
if (in_array(defaults($data, 'network', ''), ['', Protocol::PHANTOM])) {
|
||||
$ap_profile = ActivityPub::fetchProfile($uri);
|
||||
if (!empty($ap_profile) && ($ap_profile['network'] == Protocol::ACTIVITYPUB)) {
|
||||
$data = $ap_profile;
|
||||
|
|
Loading…
Reference in a new issue