aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-01-27 17:53:19 -0800
committerfriendica <info@friendica.com>2015-01-27 17:53:19 -0800
commit85b359e25c733deeadac4c3c8f8b073fe578f0d3 (patch)
treec82815d38bbe8b1e1cf0588c4d1e7d6cffe5c2f3 /include/zot.php
parent21f85b32ecaa89a584c29cdf1ef7726cbbb70bb3 (diff)
downloadvolse-hubzilla-85b359e25c733deeadac4c3c8f8b073fe578f0d3.tar.gz
volse-hubzilla-85b359e25c733deeadac4c3c8f8b073fe578f0d3.tar.bz2
volse-hubzilla-85b359e25c733deeadac4c3c8f8b073fe578f0d3.zip
ignore route mismatches on firehose posts to the sys channel. Use whatever parent route we have. By definition we aren't going to have permission issues with these things.
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index 3cf54e54e..43a7ad6ba 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -1539,7 +1539,7 @@ function process_delivery($sender,$arr,$deliveries,$relay,$public = false,$reque
$current_route = (($arr['route']) ? $arr['route'] . ',' : '') . $sender['hash'];
- if($last_hop && $last_hop != $sender['hash']) {
+ if($last_hop && $last_hop != $sender['hash'] && $sender['hash'] != 'undefined') {
logger('comment route mismatch: parent route = ' . $r[0]['route'] . ' expected = ' . $current_route, LOGGER_DEBUG);
logger('comment route mismatch: parent msg = ' . $r[0]['id'],LOGGER_DEBUG);
$result[] = array($d['hash'],'comment route mismatch',$channel['channel_name'] . ' <' . $channel['channel_address'] . '@' . get_app()->get_hostname() . '>',$arr['mid']);