API: Fix "in_reply_to_status_id"
This commit is contained in:
parent
4b6bbe3632
commit
4803b99157
|
@ -110,7 +110,7 @@ class Update extends BaseApi
|
|||
}
|
||||
|
||||
if ($request['in_reply_to_status_id']) {
|
||||
$parent = Post::selectFirst(['uri'], ['id' => $request['in_reply_to_status_id'], 'uid' => [0, $uid]]);
|
||||
$parent = Post::selectFirst(['uri'], ['uri-id' => $request['in_reply_to_status_id'], 'uid' => [0, $uid]]);
|
||||
|
||||
$item['thr-parent'] = $parent['uri'];
|
||||
$item['gravity'] = GRAVITY_COMMENT;
|
||||
|
|
Loading…
Reference in New Issue
Block a user