Don't automatically post hashtags when sharing links

This commit is contained in:
Michael 2021-03-24 19:49:20 +00:00
parent b94f442dd8
commit 7c17357a88

View file

@ -221,6 +221,7 @@ function item_post(App $a) {
// Fetch the basic attachment data // Fetch the basic attachment data
$attachment = ParseUrl::getSiteinfoCached($attachment_url); $attachment = ParseUrl::getSiteinfoCached($attachment_url);
unset($attachment['keywords']);
// Overwrite the basic data with possible changes from the frontend // Overwrite the basic data with possible changes from the frontend
$attachment['type'] = $attachment_type; $attachment['type'] = $attachment_type;