aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-09-30 12:57:02 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-09-30 12:57:02 -0700
commitfd290882fde0fe22471259771377ebabdb1b4492 (patch)
treebb41dad941d678c19b14a4afef34d5545e30e9da /include/zot.php
parent3a8e1e04844fea2331525d82d8234b7006a12037 (diff)
downloadvolse-hubzilla-fd290882fde0fe22471259771377ebabdb1b4492.tar.gz
volse-hubzilla-fd290882fde0fe22471259771377ebabdb1b4492.tar.bz2
volse-hubzilla-fd290882fde0fe22471259771377ebabdb1b4492.zip
undo self-deliver check
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/zot.php b/include/zot.php
index 635c36774..488c2772f 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -1584,11 +1584,12 @@ function process_delivery($sender, $arr, $deliveries, $relay, $public = false, $
$channel = $r[0];
$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;
- }
+// breaks comments?
+// 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