Improved distribution of non public messages
This commit is contained in:
parent
9fb493bf18
commit
f5337904e4
4 changed files with 47 additions and 17 deletions
|
@ -222,7 +222,7 @@ function item_insert(int $uid, array $request, bool $preview, string $return_pat
|
|||
DI::contentItem()->postProcessPost($post, $recipients);
|
||||
|
||||
if (($post['private'] == Item::PRIVATE) && ($post['thr-parent-id'] != $post['uri-id'])) {
|
||||
DI::contentItem()->copyPermissions($post['thr-parent-id'], $post['uri-id']);
|
||||
DI::contentItem()->copyPermissions($post['thr-parent-id'], $post['uri-id'], $post['parent-uri-id']);
|
||||
}
|
||||
|
||||
Logger::debug('post_complete');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue