=== modified file 'gwibber/microblog/twitter.py' --- gwibber/microblog/twitter.py 2010-04-21 02:58:09 +0000 +++ gwibber/microblog/twitter.py 2010-05-10 18:39:25 +0000 @@ -64,14 +64,19 @@ m["service"] = "twitter" m["account"] = self.account["id"] m["time"] = util.parsetime(data["created_at"]) - m["text"] = unescape(data["text"]) + if "retweeted_status" in data: + r_status = data["retweeted_status"] + text = "RT @" + r_status["user"]["screen_name"] + ": " + r_status["text"] + else: + text = data["text"] + m["text"] = unescape(text) m["to_me"] = ("@%s" % self.account["username"]) in data["text"] m["html"] = util.linkify(data["text"], ((util.PARSE_HASH, '#\\1' % URL_PREFIX), (util.PARSE_NICK, '@\\1' % URL_PREFIX)), escape=False) - m["content"] = util.linkify(data["text"], + m["content"] = util.linkify(text, ((util.PARSE_HASH, '#\\1' % m["account"]), (util.PARSE_NICK, '@\\1' % m["account"])), escape=False)