add in_reply_to_status_id if notice is from twitter
This commit is contained in:
parent
cbcd811d61
commit
4aca91d05d
|
@ -196,6 +196,10 @@ function twitter_update_params($notice)
|
|||
$params['lat'] = $notice->lat;
|
||||
$params['long'] = $notice->lon;
|
||||
}
|
||||
if (!empty($notice->reply_to) && is_twitter_notice($notice->reply_to)) {
|
||||
$reply = Notice::staticGet('id', $notice->reply_to);
|
||||
$params['in_reply_to_status_id'] = twitter_status_id($reply);
|
||||
}
|
||||
return $params;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user