Browse Source

Also use the original message

master
Julio Biason 15 years ago
parent
commit
8751958d4a
  1. 3
      mitterlib/network/twitter.py

3
mitterlib/network/twitter.py

@ -127,6 +127,9 @@ class TwitterNetworkData(NetworkData):
self.name = retweet_user['name']
self.username = retweet_user['screen_name']
self.avatar = retweet_user['profile_image_url']
# also switch the text for the original text.
data['text'] = data['retweeted_status']['text']
# Twitter encodes a lot of HTML entities, which are not good when
# you want to *display* then (e.g., "<" returns to us as "&lt;").

Loading…
Cancel
Save