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() . '>');
if($d['hash'] === $sender['hash']) {
$DR->update('self delivery ignored');
$result[] = $DR->get();
continue;
}
// uncomment this once we find out what's stopping the clone sync of the item from working
// if($d['hash'] === $sender['hash']) {
// $DR->update('self delivery ignored');
// $result[] = $DR->get();
// continue;
// }
// allow public postings to the sys channel regardless of permissions, but not