From b180b53619295b917ee5f30935fc089d6513dea4 Mon Sep 17 00:00:00 2001 From: Lonami Date: Mon, 23 May 2022 16:53:34 +0200 Subject: [PATCH] Fix typo in ChannelTooLong code path --- telethon/_updates/messagebox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telethon/_updates/messagebox.py b/telethon/_updates/messagebox.py index 21124cdd..b18aa32a 100644 --- a/telethon/_updates/messagebox.py +++ b/telethon/_updates/messagebox.py @@ -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)