mirror of
https://github.com/friendica/friendica
synced 2025-04-28 00:30:10 +00:00
Improved support for "Page" type
This commit is contained in:
parent
9d25c3a8f6
commit
9eec2bf5f3
3 changed files with 15 additions and 1 deletions
|
@ -125,7 +125,7 @@ class Processor
|
|||
$data = ['uri-id' => $uriid];
|
||||
$data['type'] = Post\Media::UNKNOWN;
|
||||
$data['url'] = $attachment['url'];
|
||||
$data['mimetype'] = $attachment['mediaType'];
|
||||
$data['mimetype'] = $attachment['mediaType'] ?? null;
|
||||
$data['height'] = $attachment['height'] ?? null;
|
||||
$data['width'] = $attachment['width'] ?? null;
|
||||
$data['size'] = $attachment['size'] ?? null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue