mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 04:35:24 +00:00
Fix get_dialogs not fetching some dialogs containing service messages
This commit is contained in:
parent
64fbcf2237
commit
924302aed5
@ -302,10 +302,6 @@ class Client:
|
||||
continue
|
||||
|
||||
for message in d.messages: # type: Message
|
||||
# Only search for Messages
|
||||
if not isinstance(message, Message):
|
||||
continue
|
||||
|
||||
is_this = peer_id == message.from_id or dialog.peer == message.to_id
|
||||
|
||||
if is_this:
|
||||
|
Loading…
Reference in New Issue
Block a user