ignore self delivery in process_delivery
This commit is contained in:
parent
3b53cd56ef
commit
8a3c909c74
@ -1588,13 +1588,11 @@ 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() . '>');
|
||||||
|
|
||||||
|
|
||||||
// uncomment this once we find out what's stopping the clone sync of the item from working
|
if($d['hash'] === $sender['hash']) {
|
||||||
// if($d['hash'] === $sender['hash']) {
|
$DR->update('self delivery ignored');
|
||||||
// $DR->update('self delivery ignored');
|
$result[] = $DR->get();
|
||||||
// $result[] = $DR->get();
|
continue;
|
||||||
// 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
|
||||||
// for comments travelling upstream. Wait and catch them on the way down.
|
// for comments travelling upstream. Wait and catch them on the way down.
|
||||||
|
Reference in New Issue
Block a user