undo self-deliver check
This commit is contained in:
parent
3a8e1e0484
commit
fd290882fd
@ -1584,11 +1584,12 @@ function process_delivery($sender, $arr, $deliveries, $relay, $public = false, $
|
|||||||
$channel = $r[0];
|
$channel = $r[0];
|
||||||
$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']) {
|
// breaks comments?
|
||||||
$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
|
||||||
|
@ -1 +1 @@
|
|||||||
2015-09-28.1169
|
2015-09-30.1171
|
||||||
|
Reference in New Issue
Block a user