Twitter: force timeline check to wait 5 minutes (for channel joins and antispam)

This commit is contained in:
Brian S. Stephan 2012-07-14 09:54:02 -05:00
parent 8a7660380b
commit d41d8ed0c9
1 changed files with 2 additions and 1 deletions

View File

@ -65,7 +65,8 @@ class Twitter(Module):
self.client = oauth.Client(self.consumer)
# settings
self.next_timeline_check = 0
# force timeline check to wait 5 minutes (for channel joins and antispam)
self.next_timeline_check = time.time() + 300
# try getting the stored auth tokens and logging in
(oauth_token, oauth_token_secret) = self._retrieve_stored_auth_tokens()