aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-01-04 20:31:42 +0000
committerMario <mario@mariovavti.com>2022-01-04 20:31:42 +0000
commit95a4ed7d6a770686e951e8651f3bc36c00f432f9 (patch)
treefa0d19f35bc8d5dfcce00119891d065da4a26842 /include
parent2c2d4b6b953a227ff06451ce0cf13cb6557c2d7d (diff)
downloadvolse-hubzilla-95a4ed7d6a770686e951e8651f3bc36c00f432f9.tar.gz
volse-hubzilla-95a4ed7d6a770686e951e8651f3bc36c00f432f9.tar.bz2
volse-hubzilla-95a4ed7d6a770686e951e8651f3bc36c00f432f9.zip
do not show blocked or ignored contacts in connections
Diffstat (limited to 'include')
-rw-r--r--include/text.php2
1 files changed, 1 insertions, 1 deletions
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 ";