From 17a16026ff9e0bce287b607e587a9ac7a9c3b74c Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 4 Sep 2010 23:00:18 -0400 Subject: [PATCH] add in_reply_to_status_id if notice is from twitter --- plugins/TwitterBridge/twitter.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/TwitterBridge/twitter.php b/plugins/TwitterBridge/twitter.php index b8e5457402..33d5443c22 100644 --- a/plugins/TwitterBridge/twitter.php +++ b/plugins/TwitterBridge/twitter.php @@ -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; }