Issue 13607: Use privacy setting for "remote self"

This commit is contained in:
Michael 2023-11-24 08:35:49 +00:00
parent 02afde3eec
commit 4277b0c3aa
1 changed files with 4 additions and 1 deletions

View File

@ -2566,11 +2566,14 @@ class Item
$result = self::insert($datarray2);
Logger::info('remote-self post original item', ['contact' => $contact['url'], 'result' => $result, 'item' => $datarray2]);
} else {
$datarray['private'] = self::PUBLIC;
$datarray['app'] = 'Feed';
$result = true;
}
if ($result) {
unset($datarray['private']);
}
return (bool)$result;
}