mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-25 02:43:45 +03:00
Also except ChannelInvalidError during get_diff
This change comes from here:
2166d913e6
This commit is contained in:
parent
809a07edac
commit
df96ead0ab
|
@ -312,7 +312,7 @@ class UpdateMethods:
|
|||
self._mb_entity_cache
|
||||
)
|
||||
continue
|
||||
except errors.ChannelPrivateError:
|
||||
except (errors.ChannelPrivateError, errors.ChannelInvalidError):
|
||||
# Timeout triggered a get difference, but we have been banned in the channel since then.
|
||||
# Because we can no longer fetch updates from this channel, we should stop keeping track
|
||||
# of it entirely.
|
||||
|
|
Loading…
Reference in New Issue
Block a user