added post source display.
authormicroft <microft@joker>
Sun, 21 Jun 2009 00:04:28 +0000 (01:04 +0100)
committermicroft <microft@joker>
Sun, 21 Jun 2009 00:04:28 +0000 (01:04 +0100)
gwibber/microblog/identica.py
gwibber/microblog/laconica.py

index 7658d3e..c6cdaa7 100644 (file)
@@ -72,6 +72,8 @@ class Message:
       self.reply_nick = None
       self.reply_url = None
 
+    self.source = data.get('source',False)
+
     self.sender = user["name"]
     self.sender_nick = user["screen_name"]
     self.sender_id = user["id"]
index 28658c0..e478afc 100644 (file)
@@ -73,6 +73,8 @@ class Message:
       self.reply_nick = None
       self.reply_url = None
 
+    self.source = data.get('source',False)
+
     self.sender = user["name"]
     self.sender_nick = user["screen_name"]
     self.sender_id = user["id"]