From 52ae9f09ce8251cfccfbc9ecdd8fe002440dc68e Mon Sep 17 00:00:00 2001 From: Lonami Date: Sat, 13 Mar 2021 19:06:19 +0100 Subject: [PATCH] Fix _get_input_notify on TLObjects Closes #1725. --- telethon/client/users.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/telethon/client/users.py b/telethon/client/users.py index ddd41433..6a5fc484 100644 --- a/telethon/client/users.py +++ b/telethon/client/users.py @@ -599,6 +599,8 @@ class UserMethods: notify.peer = await self.get_input_entity(notify.peer) return notify except AttributeError: - return types.InputNotifyPeer(await self.get_input_entity(notify)) + pass + + return types.InputNotifyPeer(await self.get_input_entity(notify)) # endregion