~ara/gwibber/apport_bug_384552

« back to all changes in this revision

Viewing changes to gwibber/microblog/twitter.py

  • Committer: Ryan Paul
  • Author(s): microft
  • Date: 2009-06-21 01:17:53 UTC
  • mfrom: (188.1.44 custom)
  • Revision ID: segphault@arstechnica.com-20090621011753-8giap3py5oat08b5
[Merge] Show message source and add support for u.nu and puny.sl shorteners (lp:~human-microft/gwibber/custom)

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
    self.time = support.parse_time(data["created_at"])
61
61
    self.is_private  = False
62
62
 
 
63
    # set the program source of the message
 
64
    self.source = data.get('source',False)
 
65
 
63
66
    if "user" in data:
64
67
      user = data["user"]
65
68
      self.reply_nick = data["in_reply_to_screen_name"]