mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 21:07:59 +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
|
continue
|
||||||
|
|
||||||
for message in d.messages: # type: Message
|
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
|
is_this = peer_id == message.from_id or dialog.peer == message.to_id
|
||||||
|
|
||||||
if is_this:
|
if is_this:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user