This commit is contained in:
nobody 2022-03-17 22:51:48 -07:00
parent f1362d0408
commit 80e8f68ee8

View file

@ -1013,7 +1013,7 @@ function import_items($channel, $items, $sync = false, $relocate = null)
(is_array($stored)) && ($stored['id'] != $stored['parent'])
&& ($stored['author_xchan'] === $channel['channel_hash'])
) {
retain_item($stored['item']['parent']);
retain_item($stored['parent']);
}
fix_attached_permissions($channel['channel_id'], $item['body'], $item['allow_cid'], $item['allow_gid'], $item['deny_cid'], $item['deny_gid']);