mirror of
https://github.com/friendica/friendica
synced 2025-04-26 01:50:11 +00:00
Don't create contacts for unknown networks / improved content fetching
This commit is contained in:
parent
ae0421f321
commit
fab0d9b919
2 changed files with 18 additions and 5 deletions
|
@ -1514,7 +1514,7 @@ class Contact extends BaseObject
|
|||
$data = array_merge($data, $default);
|
||||
}
|
||||
|
||||
if (empty($data)) {
|
||||
if (empty($data) || ($data['network'] == Protocol::PHANTOM)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue