add in_reply_to_status_id if notice is from twitter

This commit is contained in:
Evan Prodromou 2010-09-04 23:00:18 -04:00
parent cbcd811d61
commit 4aca91d05d

View File

@ -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;
}