sforkowany z mirror/friendica
Merge pull request #10074 from annando/no-keywords
Don't automatically post hashtags when sharing links2022.09-rc
commit
a4f7fddf41
|
@ -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;
|
||||||
|
|
Ładowanie…
Reference in New Issue