diff options
Diffstat (limited to 'include/zot.php')
-rw-r--r-- | include/zot.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/zot.php b/include/zot.php index 1706153dd..21e284c77 100644 --- a/include/zot.php +++ b/include/zot.php @@ -1486,6 +1486,8 @@ function process_delivery($sender,$arr,$deliveries,$relay,$public = false) { update_imported_item($sender,$arr,$channel['channel_id']); $result[] = array($d['hash'],'updated',$channel['channel_name'] . ' <' . $channel['channel_address'] . '@' . get_app()->get_hostname() . '>',$arr['mid']); $item_id = $r[0]['id']; + if(! $relay) + add_source_route($item_id,$sender['hash']); } else { $result[] = array($d['hash'],'update ignored',$channel['channel_name'] . ' <' . $channel['channel_address'] . '@' . get_app()->get_hostname() . '>',$arr['mid']); |