Stop using await with properties

This commit is contained in:
Lonami Exo
2018-06-25 11:38:56 +02:00
parent 0d09f9d8c1
commit 410518aa65
3 changed files with 9 additions and 6 deletions

View File

@@ -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: