gross TODO: fix this later
This commit is contained in:
parent
9ec74d0e35
commit
fdc7a3d9a9
@ -328,14 +328,16 @@ class Twitter(Module):
|
|||||||
output_channel = self._get_output_channel()
|
output_channel = self._get_output_channel()
|
||||||
|
|
||||||
if since_id is not None and output_channel != '':
|
if since_id is not None and output_channel != '':
|
||||||
tweets = self.twit.GetFriendsTimeline(since_id=since_id)
|
# TODO: make this an option in the settings, just
|
||||||
tweets.reverse()
|
# disabled in code for now
|
||||||
for tweet in tweets:
|
#tweets = self.twit.GetFriendsTimeline(since_id=since_id)
|
||||||
tweet_text = self._return_tweet_or_retweet_text(tweet=tweet, print_source=True)
|
#tweets.reverse()
|
||||||
self.sendmsg(self.connection, output_channel.encode('utf-8', 'ignore'), tweet_text)
|
#for tweet in tweets:
|
||||||
|
# tweet_text = self._return_tweet_or_retweet_text(tweet=tweet, print_source=True)
|
||||||
# friends timeline printed, find the latest id
|
# self.sendmsg(self.connection, output_channel.encode('utf-8', 'ignore'), tweet_text)
|
||||||
new_since_id = self._get_latest_tweet_id(tweets, since_id)
|
#
|
||||||
|
## friends timeline printed, find the latest id
|
||||||
|
#new_since_id = self._get_latest_tweet_id(tweets, since_id)
|
||||||
|
|
||||||
tweets = self.twit.GetMentions(since_id=since_id)
|
tweets = self.twit.GetMentions(since_id=since_id)
|
||||||
tweets.reverse()
|
tweets.reverse()
|
||||||
|
Loading…
Reference in New Issue
Block a user