mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 09:15:19 +00:00
allow self delivery until we figure out why clone sync of posted items isn't doing it's thing
This commit is contained in:
parent
1c1155513a
commit
7dd61c05dc
1 changed files with 6 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue