fix(mtproto): sync accept TDLib reconnect service parity
This commit is contained in:
parent
c854fc7b94
commit
c13fbf8885
9 changed files with 176 additions and 41 deletions
|
|
@ -250,7 +250,7 @@ func encodeClientMessageForTest(t *testing.T, msg bin.Encoder) ([]byte, int32) {
|
|||
if container, ok := msg.(*proto.MessageContainer); ok {
|
||||
return raw, clientContainerSeqNoForTest(container)
|
||||
}
|
||||
if clientMessageNeedsAck(typeID) {
|
||||
if clientMessageContentPolicyFor(typeID) == clientMessageContentRequired {
|
||||
return raw, 1
|
||||
}
|
||||
return raw, 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue