]> git.mxchange.org Git - friendica.git/commitdiff
api: ``api_status_show()`` returns correct post id
authorFabrixxm <fabrix.xm@gmail.com>
Mon, 29 Jul 2013 14:48:30 +0000 (10:48 -0400)
committerFabrixxm <fabrix.xm@gmail.com>
Mon, 29 Jul 2013 14:48:30 +0000 (10:48 -0400)
include/api.php

index b24cfdc07ca4e3d421d3d4fbbd4968f7a0f11b85..5e80e0f0a317c54020177d021e4250c4d028e164 100644 (file)
                                'created_at' => api_date($lastwall['created']),
                                'in_reply_to_status_id' => $in_reply_to_status_id,
                                'source' => (($lastwall['app']) ? $lastwall['app'] : 'web'),
-                               'id' => $lastwall['contact-id'],
+                               'id' => $lastwall['id'],
                                'in_reply_to_user_id' => $in_reply_to_user_id,
                                'in_reply_to_screen_name' => $in_reply_to_screen_name,
                                'geo' => '',