Fix _get_input_notify on TLObjects

Closes #1725.
This commit is contained in:
Lonami 2021-03-13 19:06:19 +01:00 committed by GitHub
parent a1f91d6eb8
commit 52ae9f09ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -599,6 +599,8 @@ class UserMethods:
notify.peer = await self.get_input_entity(notify.peer)
return notify
except AttributeError:
pass
return types.InputNotifyPeer(await self.get_input_entity(notify))
# endregion