mirror of
https://github.com/friendica/friendica
synced 2025-04-26 05:10:11 +00:00
All needed fields are now filled
This commit is contained in:
parent
93263a820d
commit
929de9081e
5 changed files with 41 additions and 7 deletions
|
@ -134,6 +134,12 @@ class Delayed
|
|||
return [];
|
||||
}
|
||||
|
||||
// Make sure to only publish the attachments in the dedicated array field
|
||||
if (empty($parameters[3]) && !empty($parameters[0]['attachments'])) {
|
||||
$parameters[3] = $parameters[0]['attachments'];
|
||||
unset($parameters[0]['attachments']);
|
||||
}
|
||||
|
||||
return [
|
||||
'parameters' => $delayed,
|
||||
'item' => $parameters[0],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue