1
1
Fork 0

Merge pull request #10074 from annando/no-keywords

Don't automatically post hashtags when sharing links
This commit is contained in:
Hypolite Petovan 2021-03-24 16:08:18 -04:00 committed by GitHub
commit a4f7fddf41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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