aboutsummaryrefslogtreecommitdiffstats
path: root/include/connections.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/connections.php')
-rw-r--r--include/connections.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/connections.php b/include/connections.php
index 7500647b4..f0ea8583b 100644
--- a/include/connections.php
+++ b/include/connections.php
@@ -86,7 +86,7 @@ function deliverable_abook_xchans($channel_id, $filter = [], $flatten = true) {
$r = q("SELECT abook_xchan, xchan_network FROM abook LEFT JOIN xchan ON abook_xchan = xchan_hash WHERE
abook_channel = %d $filter_sql
AND abook_self = 0
- AND abook_pending = 0
+ AND abook_blocked = 0
AND abook_archived = 0
AND abook_not_here = 0
AND xchan_network NOT IN ('anon', 'token', 'rss')",
@@ -513,7 +513,7 @@ function remove_abook_items($channel_id, $xchan_hash) {
continue;
}
- drop_item($rr['id']);
+ drop_item($rr['id'], uid: $channel_id);
}
}