]> git.mxchange.org Git - friendica.git/commitdiff
Fix passing in correct change fields to Mastodon Status FriendicaExtension
authorHank Grabowski <hankgrabowski@gmail.com>
Tue, 28 Feb 2023 21:10:13 +0000 (16:10 -0500)
committerHank Grabowski <hankgrabowski@gmail.com>
Tue, 28 Feb 2023 21:10:13 +0000 (16:10 -0500)
src/Factory/Api/Mastodon/Status.php

index 9c1bce02689596f2cdfa1c73eaf54622e93e879a..d794247cb151c8eabd64af175f95d2347b6fc928 100644 (file)
@@ -289,7 +289,7 @@ class Status extends BaseFactory
                }
 
                $delivery_data = new FriendicaDeliveryData($item['delivery_queue_count'], $item['delivery_queue_done'], $item['delivery_queue_failed']);
-               $friendica     = new FriendicaExtension($item['title'], $item['commented'], $item['edited'], $item['received'], $counts->dislikes, $delivery_data);
+               $friendica     = new FriendicaExtension($item['title'], $item['changed'], $item['commented'], $item['received'], $counts->dislikes, $delivery_data);
 
                return new \Friendica\Object\Api\Mastodon\Status($item, $account, $counts, $userAttributes, $sensitive, $application, $mentions, $tags, $card, $attachments, $in_reply, $reshare, $friendica, $quote, $poll);
        }