mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-05 08:45:13 +00:00
Fix get_dialogs not fetching some dialogs containing service messages
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user