From dc53573975361075c62cd7f9721bac2e8eff8ea8 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Mon, 27 Nov 2017 02:47:57 -0800 Subject: unset item_wall and item_origin on pubstream to channel copy --- include/items.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/items.php') diff --git a/include/items.php b/include/items.php index baf11ac69..e4727e19e 100755 --- a/include/items.php +++ b/include/items.php @@ -4756,6 +4756,9 @@ function copy_of_pubitem($channel,$mid) { unset($rv['parent']); $rv['aid'] = $channel['channel_account_id']; $rv['uid'] = $channel['channel_id']; + $rv['item_wall'] = 0; + $rv['item_origin'] = 0; + $x = item_store($rv); if($x['item_id'] && $x['item']['mid'] === $mid) { $result = $x['item']; -- cgit v1.2.3