if (!Util.isEmpty(inReplyToTweetId)) {
queryParameters.put("in_reply_to_status_id", inReplyToTweetId);
}
// Send the tweet to Twitter.
Tweet tweet = parseTweet(new JSONObject(fetchUrl(UPDATE_URL, queryParameters, true)), false);
// Keep track of tweet that was originated from Wave.
new WaveSubmittedTweetsCache().add(waveId, tweet.getId());
return tweet;
}