Set correct simple ack

This commit is contained in:
9seconds
2018-07-09 07:49:28 +03:00
parent 6ea4f3dbc2
commit 71614ee615
2 changed files with 7 additions and 7 deletions
+1
View File
@@ -80,6 +80,7 @@ func (m *MTProtoProxy) readSimpleAck(data []byte) ([]byte, error) {
return nil, errors.Errorf("Incorrect data of simple ack: %d", len(data))
}
data = data[8:12]
m.req.Options.WriteHacks.SimpleAck = true
m.logger.Debugw("Read RPC_SIMPLE_ACK",
"counter", m.readCounter,