mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 21:34:02 +03:00
Set correct simple ack
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user