From 407b9c9cd7ab3ef9ba77e6f719655354a7233920 Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Mon, 30 Sep 2019 16:19:39 +0200 Subject: Sync private items with clones; avoid sync if no local connection with thread owner --- Zotlabs/Module/Item.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'Zotlabs/Module/Item.php') diff --git a/Zotlabs/Module/Item.php b/Zotlabs/Module/Item.php index d03b6ee30..cda8eabec 100644 --- a/Zotlabs/Module/Item.php +++ b/Zotlabs/Module/Item.php @@ -1232,13 +1232,7 @@ class Item extends Controller { killme(); } - if(($parent) && ($parent != $post_id)) { - // Store the comment signature information in case we need to relay to Diaspora - //$ditem = $datarray; - //$ditem['author'] = $observer; - //store_diaspora_comment_sig($ditem,$channel,$parent_item, $post_id, (($walltowall_comment) ? 1 : 0)); - } - else { + if(($parent == $post_id) || ($datarray['item_private'] == 1)) { $r = q("select * from item where id = %d", intval($post_id) ); -- cgit v1.2.3