diff options
author | Ryan Huber <rhuber@gmail.com> | 2014-10-23 17:07:28 -0700 |
---|---|---|
committer | Ryan Huber <rhuber@gmail.com> | 2014-10-23 17:07:28 -0700 |
commit | b756bbb3c8a1768d67aebf043c24f617d745dd40 (patch) | |
tree | bbad29e84c74d5c4098a7cec6a4a71e5e631688b /wee_slack.py | |
parent | 13e1ddbeb49a266ff9b7b243160e7795213ce402 (diff) | |
download | wee-slack-b756bbb3c8a1768d67aebf043c24f617d745dd40.tar.gz |
remove some testing lines
Diffstat (limited to 'wee_slack.py')
-rw-r--r-- | wee_slack.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/wee_slack.py b/wee_slack.py index 2797e86..e196325 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -181,12 +181,9 @@ class Channel(SlackThing): def get_history(self): if self.active: t = time.time() -# if self.last_read > 0: async_slack_api_request(SLACK_API_TRANSLATOR[self.type]["history"], {"channel":self.identifier,"ts":t, "oldest":self.last_read}) queue.append(self) async_slack_api_request(SLACK_API_TRANSLATOR[self.type]["history"], {"channel":self.identifier,"ts":t, "count":BACKLOG_SIZE, "latest":self.last_read}) - #async_slack_api_request("channels.history", {"channel":self.identifier,"ts":t, "count":BACKLOG_SIZE}) - #async_slack_api_request("channels.history", {"channel":self.identifier,"ts":t, "count":BACKLOG_SIZE}) class GroupChannel(Channel): def __init__(self, name, identifier, active, last_read=0, prepend_name=""): |