aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-10-10 14:45:18 -0700
committerfriendica <info@friendica.com>2014-10-10 14:45:18 -0700
commitb5f91d7b4016831f3b62c77450c365d872bba169 (patch)
treed9086192dda4dae7179fa4929e837add14400207 /include/zot.php
parent82d4d156ead2c85fe2c4af9da49837d53ebb3438 (diff)
downloadvolse-hubzilla-b5f91d7b4016831f3b62c77450c365d872bba169.tar.gz
volse-hubzilla-b5f91d7b4016831f3b62c77450c365d872bba169.tar.bz2
volse-hubzilla-b5f91d7b4016831f3b62c77450c365d872bba169.zip
missing source route after edit
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php2
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']);