aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/zot.php b/include/zot.php
index 4b4be477f..714bdd3df 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -3312,6 +3312,14 @@ function process_channel_sync_delivery($sender, $arr, $deliveries) {
}
}
+
+ if(array_key_exists('item',$arr) && $arr['item'])
+ sync_items($channel,$arr['item']);
+
+ if(array_key_exists('item_id',$arr) && $arr['item_id'])
+ sync_items($channel,$arr['item_id']);
+
+
$result[] = array($d['hash'],'channel sync updated',$channel['channel_name'],'');
}
@@ -3754,4 +3762,5 @@ function zotinfo($arr) {
}
call_hooks('zot_finger',$ret);
return($ret);
+
}