allow self delivery until we figure out why clone sync of posted items isn't doing it's thing

This commit is contained in:
redmatrix 2015-09-22 04:39:36 -07:00
parent 1c1155513a
commit 7dd61c05dc

View File

@ -1583,11 +1583,12 @@ function process_delivery($sender, $arr, $deliveries, $relay, $public = false, $
$DR->addto_recipient($channel['channel_name'] . ' <' . $channel['channel_address'] . '@' . get_app()->get_hostname() . '>'); $DR->addto_recipient($channel['channel_name'] . ' <' . $channel['channel_address'] . '@' . get_app()->get_hostname() . '>');
if($d['hash'] === $sender['hash']) { // uncomment this once we find out what's stopping the clone sync of the item from working
$DR->update('self delivery ignored'); // if($d['hash'] === $sender['hash']) {
$result[] = $DR->get(); // $DR->update('self delivery ignored');
continue; // $result[] = $DR->get();
} // continue;
// }
// allow public postings to the sys channel regardless of permissions, but not // allow public postings to the sys channel regardless of permissions, but not