Also except ChannelInvalidError during get_diff

This change comes from here:
2166d913e6
This commit is contained in:
Lonami Exo 2022-08-30 12:06:59 +02:00
parent 809a07edac
commit df96ead0ab

View File

@ -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.