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
|
|
@ -454,7 +454,7 @@ func (s *Server) walkInbound(
|
|||
return &dispatchBadMsgError{msgID: msgID, seqNo: seqNo, code: code}
|
||||
}
|
||||
|
||||
content := clientMessageNeedsAck(typeID)
|
||||
content := clientMessageIsContentRelated(typeID, seqNo)
|
||||
if record, seen := overlay.seenRecord(msgID); seen {
|
||||
if record.seqNo != seqNo || record.content != content {
|
||||
return &dispatchBadMsgError{msgID: msgID, seqNo: seqNo, code: badMsgContainer}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue