1
0
mirror of https://github.com/gryf/slack-backup.git synced 2025-12-17 19:40:21 +01:00

Fix: Ignore deleted channels

This commit is contained in:
2018-07-16 16:16:03 +02:00
parent 93b0bc2dd7
commit 9aa79bfa89

View File

@@ -156,6 +156,10 @@ class Client(object):
while True:
logging.debug("Fetching another portion of messages")
messages, latest = self._channels_history(channel, latest)
if messages is None:
# ignore deleted channels
break
result.extend(messages)
for msg in messages: