Add missing awaits

This commit is contained in:
Lonami Exo
2018-10-06 12:39:07 +02:00
parent 67be6418b6
commit fb9660afe0
2 changed files with 4 additions and 4 deletions

View File

@@ -504,7 +504,7 @@ class MTProtoSender:
__log__.debug('Handling update {}'
.format(message.obj.__class__.__name__))
if self._update_callback:
self._update_callback(message.obj)
await self._update_callback(message.obj)
async def _handle_pong(self, message):
"""