kopia lustrzana https://github.com/friendica/friendica
Don't store unknown networks
rodzic
31868af45d
commit
53d8c21d3c
|
@ -1387,6 +1387,9 @@ function get_gcontact_id($contact) {
|
|||
|
||||
$gcontact_id = 0;
|
||||
|
||||
if ($contact["network"] == NETWORK_PHANTOM)
|
||||
return false;
|
||||
|
||||
if ($contact["network"] == NETWORK_STATUSNET)
|
||||
$contact["network"] = NETWORK_OSTATUS;
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue