mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-26 03:13:45 +03:00
Fix AlbumHack in combination with events.Raw (#1555)
This commit is contained in:
parent
1afb5b95e3
commit
2a114917f1
|
@ -467,6 +467,8 @@ class UpdateMethods:
|
|||
# the name of speed; we don't want to make it worse for all updates
|
||||
# just because albums may need it.
|
||||
for builder, callback in self._event_builders:
|
||||
if isinstance(builder, events.Raw):
|
||||
continue
|
||||
if not isinstance(event, builder.Event):
|
||||
continue
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user