Skip to content

Commit ff0fa9c

Browse files
authored
Update get_dialogs.py
1 parent b8934ae commit ff0fa9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyrogram/methods/chats/get_dialogs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ async def get_dialogs(
8989
messages = {}
9090

9191
for message in r.messages:
92-
if message.empty:
92+
if isinstance(message, raw.types.MessageEmpty):
9393
continue
9494

9595
peer_id = message.peer_id

0 commit comments

Comments
 (0)