Fix typo in ChannelTooLong code path

This commit is contained in:
Lonami 2022-05-23 16:53:34 +02:00 committed by GitHub
parent 6005585764
commit b180b53619
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -441,7 +441,7 @@ class MessageBox:
):
# This update means we need to call getChannelDifference to get the updates from the channel
if isinstance(update, tl.UpdateChannelTooLong):
self.begin_get_diff(u.channel_id)
self.begin_get_diff(update.channel_id)
return None
pts = PtsInfo.from_update(update)