This commit is contained in:
redmatrix
2015-09-28 19:06:10 -07:00
3 changed files with 11 additions and 1 deletions

View File

@@ -1587,6 +1587,12 @@ function process_delivery($sender, $arr, $deliveries, $relay, $public = false, $
$channel = $r[0];
$DR->addto_recipient($channel['channel_name'] . ' <' . $channel['channel_address'] . '@' . get_app()->get_hostname() . '>');
if($d['hash'] === $sender['hash']) {
$DR->update('self delivery ignored');
$result[] = $DR->get();
continue;
}
if($d['hash'] === $sender['hash']) {
$DR->update('self delivery ignored');