From b756bbb3c8a1768d67aebf043c24f617d745dd40 Mon Sep 17 00:00:00 2001 From: Ryan Huber Date: Thu, 23 Oct 2014 17:07:28 -0700 Subject: remove some testing lines --- wee_slack.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'wee_slack.py') 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=""): -- cgit