aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/DReport.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-11-09 19:32:29 +0000
committerMario <mario@mariovavti.com>2023-11-09 19:32:29 +0000
commit85d8c1a97eec7fe40c6ea4b9ee895897d54a38c6 (patch)
treef4138164362d501f2713fd9a83d7d52e38c0e2ab /Zotlabs/Lib/DReport.php
parent547e6542ba7d396cc1c349577e2078fda098bee6 (diff)
downloadvolse-hubzilla-85d8c1a97eec7fe40c6ea4b9ee895897d54a38c6.tar.gz
volse-hubzilla-85d8c1a97eec7fe40c6ea4b9ee895897d54a38c6.tar.bz2
volse-hubzilla-85d8c1a97eec7fe40c6ea4b9ee895897d54a38c6.zip
some low level work on native repeats
Diffstat (limited to 'Zotlabs/Lib/DReport.php')
-rw-r--r--Zotlabs/Lib/DReport.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Lib/DReport.php b/Zotlabs/Lib/DReport.php
index e22ed65be..c5c2eb088 100644
--- a/Zotlabs/Lib/DReport.php
+++ b/Zotlabs/Lib/DReport.php
@@ -119,8 +119,9 @@ class DReport {
if((! $r) && ($dr['status'] === 'recipient_not_found'))
return false;
- $r = q("select abook_id from abook where abook_xchan = '%s' and abook_channel = %d limit 1",
+ $r = q("select abook_id from abook where (abook_xchan = '%s' OR abook_xchan = '%s') and abook_channel = %d limit 1",
dbesc($dr['recipient']),
+ dbesc($dr['sender']),
intval($c[0]['channel_id'])
);
if($r)