mirror of
https://github.com/gryf/slack-backup.git
synced 2026-10-06 02:20:34 +02:00
Fix: Ignore deleted channels
This commit is contained in:
1 parent
93b0bc2dd7
commit
9aa79bfa89
1 file changed
+4
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user