User setting to disable blurring of sensitive pictures (#13883)

This commit is contained in:
Michael Vogel 2024-02-10 09:50:49 +01:00 committed by GitHub
parent dbc72adaf9
commit 52825cb4c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 10 additions and 3 deletions

View file

@ -278,6 +278,7 @@ function item_process(array $post, array $request, bool $preview, string $return
$post['quote-uri-id'] = Item::getQuoteUriId($post['body'], $post['uid']);
$post['body'] = BBCode::removeSharedData(Item::setHashtags($post['body']));
$post['writable'] = true;
$post['sensitive'] = true;
$o = DI::conversation()->render([$post], Conversation::MODE_SEARCH, false, true);