diff --git a/mitterlib/network/twitter.py b/mitterlib/network/twitter.py index 5aac5d3..a5cbb4e 100644 --- a/mitterlib/network/twitter.py +++ b/mitterlib/network/twitter.py @@ -187,10 +187,14 @@ class TwitterNetworkData(NetworkData): self.name = retweet_user['name'] self.username = retweet_user['screen_name'] self.avatar = retweet_user['profile_image_url'] + self.id = data['retweeted_status']['id'] # also switch the text for the original text. data['text'] = data['retweeted_status']['text'] + # keep the message_time as is, so we have the retweet time, not he + # original message time + # Twitter encodes a lot of HTML entities, which are not good when # you want to *display* then (e.g., "<" returns to us as "<"). # So we convert this here. Interfaces need to worry about converting