Merge branch 'api4' of github.com:annando/friendica into api4
This commit is contained in:
commit
a704f4de3a
1 changed files with 1 additions and 1 deletions
|
@ -1814,7 +1814,7 @@ function api_format_messages($item, $recipient, $sender)
|
||||||
'sender_id' => $sender['id'],
|
'sender_id' => $sender['id'],
|
||||||
'text' => "",
|
'text' => "",
|
||||||
'recipient_id' => $recipient['id'],
|
'recipient_id' => $recipient['id'],
|
||||||
'created_at' => DateTimeFormat::utc($item['created'] ?? DateTimeFormat::utcNow(), DateTimeFormat::API),
|
'created_at' => DateTimeFormat::utc($item['created'] ?? 'now', DateTimeFormat::API),
|
||||||
'sender_screen_name' => $sender['screen_name'],
|
'sender_screen_name' => $sender['screen_name'],
|
||||||
'recipient_screen_name' => $recipient['screen_name'],
|
'recipient_screen_name' => $recipient['screen_name'],
|
||||||
'sender' => $sender,
|
'sender' => $sender,
|
||||||
|
|
Loading…
Reference in a new issue