fix delivery report for zot6 connections

This commit is contained in:
Mario Vavti
2019-01-17 11:39:52 +01:00
parent eda7c5369c
commit 07f6465872
3 changed files with 8 additions and 2 deletions

View File

@@ -80,8 +80,9 @@ class Dreport extends \Zotlabs\Web\Controller {
return;
}
$r = q("select * from dreport where dreport_xchan = '%s' and dreport_mid = '%s'",
$r = q("select * from dreport where (dreport_xchan = '%s' or dreport_xchan = '%s') and dreport_mid = '%s'",
dbesc($channel['channel_hash']),
dbesc($channel['channel_portable_id']),
dbesc($mid)
);