Merge pull request #555 from JosXa/patch-1

Don't process MessageEmpty in get_dialogs
This commit is contained in:
Dan 2020-12-11 19:15:58 +01:00 committed by GitHub
commit 7efd0d1d4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,6 +89,9 @@ class GetDialogs(Scaffold):
messages = {}
for message in r.messages:
if isinstance(message, raw.types.MessageEmpty):
continue
peer_id = message.peer_id
if isinstance(peer_id, raw.types.PeerUser):