mirror of
https://github.com/friendica/friendica
synced 2025-04-27 03:10:12 +00:00
AP is enabled for all users
This commit is contained in:
parent
ca574e1027
commit
a56565fa99
6 changed files with 14 additions and 15 deletions
|
@ -335,8 +335,9 @@ class Probe
|
|||
$data = null;
|
||||
}
|
||||
|
||||
if (in_array(defaults($data, 'network', ''), ['', Protocol::PHANTOM])) {
|
||||
$ap_profile = ActivityPub::probeProfile($uri);
|
||||
$ap_profile = ActivityPub::probeProfile($uri);
|
||||
|
||||
if (!empty($ap_profile) && (defaults($data, 'network', '') != Protocol::DFRN)) {
|
||||
if (!empty($ap_profile) && ($ap_profile['network'] == Protocol::ACTIVITYPUB)) {
|
||||
$data = $ap_profile;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue