]> git.mxchange.org Git - friendica.git/commitdiff
Use all fields
authorMichael <heluecht@pirati.ca>
Wed, 24 Apr 2019 20:46:12 +0000 (20:46 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 24 Apr 2019 20:46:12 +0000 (20:46 +0000)
include/api.php

index a10c3a28c9444778ef8dac00318dd2e68d779a96..1d057a233fef83587d8b30cd0b819d1845ca0989 100644 (file)
@@ -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) {