aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-12-11 14:39:06 -0800
committerzotlabs <mike@macgirvin.com>2016-12-11 14:39:06 -0800
commit9e27559bdb2ba2177128deb014ecaef21f1eaaba (patch)
treedb86c859f81baa34ab032c1e959eadc9c03ee72b /Zotlabs
parent0a21ffbfecf30f619bdfc8de15c88911a6d7d3db (diff)
downloadvolse-hubzilla-9e27559bdb2ba2177128deb014ecaef21f1eaaba.tar.gz
volse-hubzilla-9e27559bdb2ba2177128deb014ecaef21f1eaaba.tar.bz2
volse-hubzilla-9e27559bdb2ba2177128deb014ecaef21f1eaaba.zip
clone sync missing for some item delete operations
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Item.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/Zotlabs/Module/Item.php b/Zotlabs/Module/Item.php
index d6df20130..085c02742 100644
--- a/Zotlabs/Module/Item.php
+++ b/Zotlabs/Module/Item.php
@@ -1108,6 +1108,14 @@ class Item extends \Zotlabs\Web\Controller {
else {
// complex deletion that needs to propagate and be performed in phases
drop_item($i[0]['id'],true,DROPITEM_PHASE1);
+ $r = q("select * from item where id = %d",
+ intval($i[0]['id'])
+ );
+ if($r) {
+ xchan_query($r);
+ $sync_item = fetch_post_tags($r);
+ build_sync_packet($i[0]['uid'],array('item' => array(encode_item($sync_item[0],true))));
+ }
tag_deliver($i[0]['uid'],$i[0]['id']);
}
}