From 95a4ed7d6a770686e951e8651f3bc36c00f432f9 Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 4 Jan 2022 20:31:42 +0000 Subject: do not show blocked or ignored contacts in connections --- include/text.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/text.php') diff --git a/include/text.php b/include/text.php index 29b9d039c..b11437862 100644 --- a/include/text.php +++ b/include/text.php @@ -995,7 +995,7 @@ function contact_block() { $is_owner = ((local_channel() && local_channel() == App::$profile['uid']) ? true : false); $sql_extra = ''; - $abook_flags = " and abook_pending = 0 and abook_self = 0 "; + $abook_flags = " and abook_pending = 0 and abook_self = 0 and abook_blocked = 0 and abook_ignored = 0 "; if(! $is_owner) { $abook_flags .= " and abook_hidden = 0 "; -- cgit v1.2.3