aparently we do not use underscores anymore. this fixes spaming of dreports with recipient not found entries for our own xchan

This commit is contained in:
Mario 2019-03-23 21:50:50 +01:00
parent 4d4425a5bf
commit d2725c3f49

View File

@ -118,7 +118,7 @@ class DReport {
// So if a remote site says they can't find us, that's no big surprise
// and just creates a lot of extra report noise
if(($dr['location'] !== z_root()) && ($dr['sender'] === $rxchan) && ($dr['status'] === 'recipient_not_found'))
if(($dr['location'] !== z_root()) && ($dr['sender'] === $rxchan) && ($dr['status'] === 'recipient not found'))
return false;
// If you have a private post with a recipient list, every single site is going to report