Videos are now working as well
This commit is contained in:
parent
945f482ba3
commit
4ea30af752
|
@ -86,8 +86,8 @@ class Attachment extends BaseFactory
|
|||
$preview = Proxy::proxifyUrl($attachment['url'], false, Proxy::SIZE_SMALL);
|
||||
}
|
||||
} else {
|
||||
$url = '';
|
||||
$preview = '';
|
||||
$url = $attachment['url'];
|
||||
$preview = $attachment['preview'] ?? '';
|
||||
}
|
||||
|
||||
$object = new \Friendica\Object\Api\Mastodon\Attachment($attachment, $type, $url, $preview, $remote);
|
||||
|
|
Loading…
Reference in New Issue
Block a user