Fix EventsCommon still having async properties

This commit is contained in:
Lonami Exo
2018-06-24 13:04:55 +02:00
parent d4479a0a4e
commit 266d44dd86
2 changed files with 51 additions and 32 deletions

View File

@@ -253,8 +253,7 @@ class Message:
things like username or similar, but still useful in some cases.
Note that this might not be available if the library doesn't know
where the message came from, and it may fetch the dialogs to try
to find it in the worst case.
where the message came from.
"""
if self._input_chat is None:
try: