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
1 changed files with 1 additions and 0 deletions

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;