mirror of
https://github.com/friendica/friendica
synced 2025-05-12 18:24:09 +02:00
Fix: "unsearchable" is now stored
This commit is contained in:
parent
57187f26ae
commit
eaddf5318a
7 changed files with 25 additions and 6 deletions
|
@ -376,6 +376,9 @@ class APContact
|
|||
}
|
||||
|
||||
$apcontact['discoverable'] = JsonLD::fetchElement($compacted, 'toot:discoverable', '@value');
|
||||
if (is_null($apcontact['discoverable']) && ($apcontact['type'] == 'Application')) {
|
||||
$apcontact['discoverable'] = false;
|
||||
}
|
||||
|
||||
if (!empty($apcontact['photo'])) {
|
||||
$apcontact['photo'] = Network::addBasePath($apcontact['photo'], $apcontact['url']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue