don't care about last message anymore. load all history
@@ -817,9 +817,6 @@ class Channel(object):
if self.active:
for message in message_cache[self.identifier]:
process_message(json.loads(message), True)
- if self.last_received is not None:
- async_slack_api_request(self.server.domain, self.server.token, SLACK_API_TRANSLATOR[self.type]["history"], {"channel": self.identifier, "oldest": self.last_received, "count": BACKLOG_SIZE})
- else:
async_slack_api_request(self.server.domain, self.server.token, SLACK_API_TRANSLATOR[self.type]["history"], {"channel": self.identifier, "count": BACKLOG_SIZE})
self.got_history = True
