mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-07 13:34:59 +03:00
_update_callback needs no await
This commit is contained in:
parent
5add511dc3
commit
31e7bf03da
|
@ -571,7 +571,7 @@ class MTProtoSender:
|
||||||
__log__.debug('Handling update {}'
|
__log__.debug('Handling update {}'
|
||||||
.format(message.obj.__class__.__name__))
|
.format(message.obj.__class__.__name__))
|
||||||
if self._update_callback:
|
if self._update_callback:
|
||||||
await self._update_callback(message.obj)
|
self._update_callback(message.obj)
|
||||||
|
|
||||||
async def _handle_pong(self, message):
|
async def _handle_pong(self, message):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user