mirror of
https://github.com/gryf/slack-backup.git
synced 2025-12-17 11:30:25 +01:00
Fix: Ignore deleted channels
This commit is contained in:
@@ -156,6 +156,10 @@ class Client(object):
|
|||||||
while True:
|
while True:
|
||||||
logging.debug("Fetching another portion of messages")
|
logging.debug("Fetching another portion of messages")
|
||||||
messages, latest = self._channels_history(channel, latest)
|
messages, latest = self._channels_history(channel, latest)
|
||||||
|
if messages is None:
|
||||||
|
# ignore deleted channels
|
||||||
|
break
|
||||||
|
|
||||||
result.extend(messages)
|
result.extend(messages)
|
||||||
|
|
||||||
for msg in messages:
|
for msg in messages:
|
||||||
|
|||||||
Reference in New Issue
Block a user