Sync private items with clones; avoid sync if no local connection with thread owner

This commit is contained in:
Max Kostikov
2019-09-30 16:19:39 +02:00
committed by Mario
parent d0055310ba
commit 407b9c9cd7
2 changed files with 19 additions and 8 deletions

View File

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