diff options
author | friendica <info@friendica.com> | 2015-01-27 17:53:19 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-01-27 17:53:19 -0800 |
commit | 85b359e25c733deeadac4c3c8f8b073fe578f0d3 (patch) | |
tree | c82815d38bbe8b1e1cf0588c4d1e7d6cffe5c2f3 /include | |
parent | 21f85b32ecaa89a584c29cdf1ef7726cbbb70bb3 (diff) | |
download | volse-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')
-rw-r--r-- | include/zot.php | 2 |
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']); |