Add back auth key generation process

This commit is contained in:
Lonami Exo
2018-10-05 13:26:44 +02:00
parent 5edc2216c7
commit 3b1142aaca
3 changed files with 18 additions and 9 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ class MTProtoPlainSender:
body = bytes(request)
msg_id = self._state._get_new_msg_id()
await self._connection.send(
struct.pack('<QQi', 0, msg_id, len(body)) + body
struct.pack('<qqi', 0, msg_id, len(body)) + body
)
body = await self._connection.recv()