edits might really work now
This commit is contained in:
parent
a2a2ae2dd2
commit
a7efec2b51
@ -923,6 +923,7 @@ function process_delivery($sender,$arr,$deliveries,$relay) {
|
|||||||
if($r) {
|
if($r) {
|
||||||
if($arr['edited'] > $r[0]['edited']) {
|
if($arr['edited'] > $r[0]['edited']) {
|
||||||
$arr['id'] = $r[0]['id'];
|
$arr['id'] = $r[0]['id'];
|
||||||
|
$arr['uid'] = $channel['channel_id'];
|
||||||
update_imported_item($sender,$arr,$channel['channel_id']);
|
update_imported_item($sender,$arr,$channel['channel_id']);
|
||||||
}
|
}
|
||||||
$result[] = array($d['hash'],'updated');
|
$result[] = array($d['hash'],'updated');
|
||||||
@ -953,7 +954,7 @@ function process_delivery($sender,$arr,$deliveries,$relay) {
|
|||||||
|
|
||||||
function update_imported_item($sender,$item,$uid) {
|
function update_imported_item($sender,$item,$uid) {
|
||||||
|
|
||||||
item_store_update($arr);
|
item_store_update($item);
|
||||||
logger('update_imported_item');
|
logger('update_imported_item');
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user