forked from GNUsocial/gnu-social
if there is oembed data for a file/link, consider that link to have an attachment
This commit is contained in:
parent
c9a3916c34
commit
1bf27de9b9
@ -803,7 +803,7 @@ function common_linkify($url) {
|
||||
}
|
||||
|
||||
if (!empty($f)) {
|
||||
if ($f->getEnclosure()) {
|
||||
if ($f->getEnclosure() || File_oembed::staticGet('file_id',$f->id)) {
|
||||
$is_attachment = true;
|
||||
$attachment_id = $f->id;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user