mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-23 03:38:08 -06:00
Replies will not show on list buffers
This commit is contained in:
parent
7f673fb9de
commit
18f7cb6c96
@ -34,7 +34,11 @@ class streamer(TwythonStreamer):
|
||||
tweet_event.SetItem(data)
|
||||
announce = _(u"One tweet from %s in the list %s") % (data["user"]["name"], self.parent.nb.GetPage(i).name_buffer[:-5])
|
||||
tweet_event.SetAnnounce(announce)
|
||||
wx.PostEvent(self.parent.nb.GetPage(i), tweet_event)
|
||||
usr = data["in_reply_to_user_id"]
|
||||
if (usr != None and usr in self.friends) or data.has_key("retweeted_status"):
|
||||
wx.PostEvent(self.parent.nb.GetPage(i), tweet_event)
|
||||
elif usr == None:
|
||||
wx.PostEvent(self.parent.nb.GetPage(i), tweet_event)
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
@ -42,5 +46,7 @@ class streamer(TwythonStreamer):
|
||||
try:
|
||||
if data.has_key("text"):
|
||||
self.check_tls(data)
|
||||
elif "friends" in data:
|
||||
self.friends = data["friends"]
|
||||
except:
|
||||
pass
|
@ -68,7 +68,7 @@ class streamer(TwythonStreamer):
|
||||
tweet_event.SetItem(data["direct_message"])
|
||||
text = _(u"One direct message")
|
||||
tweet_event.SetAnnounce(text)
|
||||
wx.PostEvent(self.parent.search_buffer("buffer", "direct_messages"), tweet_event)
|
||||
wx.PostEvent(self.parent.search_buffer("direct_message", "direct_messages"), tweet_event)
|
||||
|
||||
def check_follower(self, data):
|
||||
if data["target"]["screen_name"] == self.db.settings["user_name"] and config.main["other_buffers"]["show_followers"] == True:
|
||||
|
Loading…
Reference in New Issue
Block a user