diff options
author | Evan Prodromou <evan@status.net> | 2010-09-04 23:00:18 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-09-07 04:00:58 -0400 |
commit | 17a16026ff9e0bce287b607e587a9ac7a9c3b74c (patch) | |
tree | a16b0bb67fd70b91c3a430d88ff2f103dd0f3950 /plugins/TwitterBridge/twitter.php | |
parent | 928239ecf88f1dc761a7a39d77714f5687e20833 (diff) |
add in_reply_to_status_id if notice is from twitter
Diffstat (limited to 'plugins/TwitterBridge/twitter.php')
-rw-r--r-- | plugins/TwitterBridge/twitter.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/TwitterBridge/twitter.php b/plugins/TwitterBridge/twitter.php index b8e545740..33d5443c2 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; } |