mirror of
https://github.com/friendica/friendica
synced 2024-12-23 11:20:15 +00:00
Style
This commit is contained in:
parent
01197f66e5
commit
e89d0f2599
1 changed files with 3 additions and 2 deletions
|
@ -64,6 +64,7 @@ class ScheduledStatus extends BaseFactory
|
||||||
$media_attachments = [];
|
$media_attachments = [];
|
||||||
foreach ($parameters['attachments'] as $attachment) {
|
foreach ($parameters['attachments'] as $attachment) {
|
||||||
$id = Photo::getIdForName($attachment['url']);
|
$id = Photo::getIdForName($attachment['url']);
|
||||||
|
|
||||||
$media_ids[] = (string)$id;
|
$media_ids[] = (string)$id;
|
||||||
$media_attachments[] = DI::mstdnAttachment()->createFromPhoto($id);
|
$media_attachments[] = DI::mstdnAttachment()->createFromPhoto($id);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue