From 53d8c21d3cbd964f55b9a2b4e4c9ce976c5b96c5 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Tue, 19 Apr 2016 20:39:12 +0200 Subject: [PATCH] Don't store unknown networks --- include/socgraph.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/socgraph.php b/include/socgraph.php index 689957f94d..402fee8593 100644 --- a/include/socgraph.php +++ b/include/socgraph.php @@ -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; -- 2.39.5