aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-09-30 12:59:13 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-09-30 12:59:13 -0700
commit4b7c052ed8fa3075ce4b5e9585574f2e712cb426 (patch)
tree937d7e665bd947db6bd83bc0f2ac14474939c39d
parentccd13dd6434994e56a4c57d27fa773d9d8a059de (diff)
downloadvolse-hubzilla-4b7c052ed8fa3075ce4b5e9585574f2e712cb426.tar.gz
volse-hubzilla-4b7c052ed8fa3075ce4b5e9585574f2e712cb426.tar.bz2
volse-hubzilla-4b7c052ed8fa3075ce4b5e9585574f2e712cb426.zip
undo self deliver check
-rw-r--r--include/zot.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/zot.php b/include/zot.php
index 7707f34fc..a6d7fce06 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -1587,11 +1587,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
// for comments travelling upstream. Wait and catch them on the way down.