mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-02 03:00:15 +03:00
Typo
This commit is contained in:
parent
a710caf86e
commit
4cf12a774a
|
@ -86,7 +86,7 @@ class _MessagesIter(RequestIter):
|
|||
filter = types.InputMessagesFilterEmpty()
|
||||
|
||||
# Telegram completely ignores `from_id` in private chats
|
||||
if self.entity:
|
||||
if not isinstance(self.entity, types.InputPeerEmpty):
|
||||
ty = helpers._entity_type(self.entity)
|
||||
if ty == helpers._EntityType.USER:
|
||||
# Don't bother sending `from_user` (it's ignored anyway),
|
||||
|
|
Loading…
Reference in New Issue
Block a user