Update to layer 123

This commit is contained in:
Lonami Exo
2021-01-28 19:48:01 +01:00
parent 2117f8f54b
commit 4e73577d59
2 changed files with 32 additions and 18 deletions

View File

@@ -456,7 +456,8 @@ class DialogMethods:
if ty == helpers._EntityType.CHAT and not deactivated:
try:
result = await self(functions.messages.DeleteChatUserRequest(
entity.chat_id, types.InputUserSelf()))
entity.chat_id, types.InputUserSelf(), revoke=revoke
))
except errors.PeerIdInvalidError:
# Happens if we didn't have the deactivated information
result = None