Support Blurhash
This commit is contained in:
parent
22e2578b23
commit
a5be5b27e3
16 changed files with 152 additions and 17 deletions
|
@ -52,6 +52,8 @@ class Card extends BaseDataTransferObject
|
|||
protected $height;
|
||||
/** @var string */
|
||||
protected $image;
|
||||
/** @var string */
|
||||
protected $blurhash;
|
||||
|
||||
/**
|
||||
* Creates a card record from an attachment array.
|
||||
|
@ -72,6 +74,7 @@ class Card extends BaseDataTransferObject
|
|||
$this->width = $attachment['width'] ?? 0;
|
||||
$this->height = $attachment['height'] ?? 0;
|
||||
$this->image = $attachment['image'] ?? '';
|
||||
$this->blurhash = $attachment['blurhash'] ?? '';
|
||||
$this->history = $history;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue