Conflicts:
	include/items.php
	include/zot.php
This commit is contained in:
redmatrix 2015-09-22 16:26:28 -07:00
commit 1d7d9818fa
2 changed files with 10 additions and 0 deletions

View File

@ -836,6 +836,7 @@ function title_is_body($title, $body) {
function get_item_elements($x,$allow_code = false) {
$arr = array();
if($allow_code)
$arr['body'] = $x['body'];
else

View File

@ -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);
}