From 8396164afd91de7028812e5a3a437c5f0d6738c4 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