From d778a29e04291b30c4971fd7878f7b2c785a9fe0 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 24 Apr 2019 20:46:12 +0000 Subject: [PATCH] Use all fields --- include/api.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/api.php b/include/api.php index a10c3a28c9..1d057a233f 100644 --- a/include/api.php +++ b/include/api.php @@ -3002,7 +3002,10 @@ function api_format_item($item, $type = "json", $status_user = null, $author_use } if (!empty($quoted_item)) { - $quoted_status = api_convert_item($quoted_item); + $conv_quoted = api_convert_item($quoted_item); + $quoted_status = $status; + $quoted_status['text'] = $conv_quoted['text']; + $quoted_status['statusnet_html'] = $conv_quoted['html']; try { $quoted_status['friendica_owner'] = $quoted_status['friendica_author'] = $quoted_status["user"] = api_get_user($a, $quoted_item["author-id"]); } catch (BadRequestException $e) { -- 2.39.5