mirror of
https://github.com/friendica/friendica
synced 2024-12-23 16:40:17 +00:00
Don't store unknown networks
This commit is contained in:
parent
31868af45d
commit
53d8c21d3c
1 changed files with 3 additions and 0 deletions
|
@ -1387,6 +1387,9 @@ function get_gcontact_id($contact) {
|
||||||
|
|
||||||
$gcontact_id = 0;
|
$gcontact_id = 0;
|
||||||
|
|
||||||
|
if ($contact["network"] == NETWORK_PHANTOM)
|
||||||
|
return false;
|
||||||
|
|
||||||
if ($contact["network"] == NETWORK_STATUSNET)
|
if ($contact["network"] == NETWORK_STATUSNET)
|
||||||
$contact["network"] = NETWORK_OSTATUS;
|
$contact["network"] = NETWORK_OSTATUS;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue