mirror of
https://github.com/friendica/friendica
synced 2025-05-12 18:24:09 +02:00
Better support for "audience" / simplified Lemmy processing
This commit is contained in:
parent
50988bf5f1
commit
6d911a8f39
9 changed files with 133 additions and 103 deletions
|
@ -119,6 +119,11 @@ class APContact
|
|||
return [];
|
||||
}
|
||||
|
||||
if (!Network::isValidHttpUrl($url) && !filter_var($url, FILTER_VALIDATE_EMAIL)) {
|
||||
Logger::info('Invalid URL', ['url' => $url]);
|
||||
return [];
|
||||
}
|
||||
|
||||
$fetched_contact = [];
|
||||
|
||||
if (empty($update)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue