From 1b22d0eb12134d3206698997c67fe106fd1df67e Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Sun, 8 Jul 2018 23:44:56 +0200 Subject: [PATCH] Add missing await --- telethon/tl/custom/message.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telethon/tl/custom/message.py b/telethon/tl/custom/message.py index 64c83121..40236c6c 100644 --- a/telethon/tl/custom/message.py +++ b/telethon/tl/custom/message.py @@ -604,7 +604,7 @@ class Message: if not self.original_message.out: if not isinstance(self.original_message.to_id, types.PeerUser): return None - me = self._client.get_me(input_peer=True) + me = await self._client.get_me(input_peer=True) if self.original_message.to_id.user_id != me.user_id: return None