From 74911e9f6d44643facd6fa1b45c2035b780570e4 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 20 Nov 2023 20:32:14 +0000 Subject: revert dreport changes - too chatty --- Zotlabs/Lib/DReport.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Zotlabs/Lib/DReport.php') diff --git a/Zotlabs/Lib/DReport.php b/Zotlabs/Lib/DReport.php index c5c2eb088..e22ed65be 100644 --- a/Zotlabs/Lib/DReport.php +++ b/Zotlabs/Lib/DReport.php @@ -119,9 +119,8 @@ class DReport { if((! $r) && ($dr['status'] === 'recipient_not_found')) return false; - $r = q("select abook_id from abook where (abook_xchan = '%s' OR abook_xchan = '%s') and abook_channel = %d limit 1", + $r = q("select abook_id from abook where abook_xchan = '%s' and abook_channel = %d limit 1", dbesc($dr['recipient']), - dbesc($dr['sender']), intval($c[0]['channel_id']) ); if($r) -- cgit v1.2.3