Get more items works as espected using the inverted buffers.

This commit is contained in:
Manuel Cortez 2014-11-11 17:17:32 -06:00
parent d618f93d9d
commit 9b61fecb2c
2 changed files with 0 additions and 3 deletions

View File

@ -19,10 +19,8 @@ class streamer(TwythonStreamer):
log.debug("%s: %s" % (status_code, data)) log.debug("%s: %s" % (status_code, data))
def check_tls(self, data): def check_tls(self, data):
print "checking timelines..."
for i in config.main["other_buffers"]["timelines"]: for i in config.main["other_buffers"]["timelines"]:
if data["user"]["screen_name"] == i: if data["user"]["screen_name"] == i:
print "I found it"
tweet_event = event.event(event.EVT_OBJECT, 1) tweet_event = event.event(event.EVT_OBJECT, 1)
tweet_event.SetItem(data) tweet_event.SetItem(data)
announce = _(u"One tweet from %s") % (data["user"]["name"]) announce = _(u"One tweet from %s") % (data["user"]["name"])

View File

@ -19,7 +19,6 @@ def get_more_items(update_function, twitter_object, users=False, name=None, *arg
for i in data["users"]: results.append(i) for i in data["users"]: results.append(i)
else: else:
results.extend(data[1:]) results.extend(data[1:])
if config.main["general"]["reverse_timelines"] == True: results.reverse()
return results return results
def call_paged(update_function, twitter_object, *args, **kwargs): def call_paged(update_function, twitter_object, *args, **kwargs):