mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 04:52:30 +00:00
Stop using await with properties
This commit is contained in:
@@ -97,7 +97,7 @@ class MessageRead(EventBuilder):
|
||||
was read instead checking if it's in here.
|
||||
"""
|
||||
if self._messages is None:
|
||||
chat = await self.input_chat
|
||||
chat = await self.get_input_chat()
|
||||
if not chat:
|
||||
self._messages = []
|
||||
else:
|
||||
|
Reference in New Issue
Block a user