Fix-up e2fe3eb (packer was OK, encryption was not made)

This commit is contained in:
Lonami Exo 2018-10-19 13:33:24 +02:00
parent f5bc952309
commit 939854a0dd

View File

@ -342,6 +342,8 @@ class MTProtoSender:
continue
try:
# TODO Split except
data = self._state.encrypt_message_data(data)
await self._connection.send(data)
except Exception:
__log__.exception('Unhandled error while sending data')