Skip to content

Commit f107a07

Browse files
authored
Update updates.go
1 parent 840ccd0 commit f107a07

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

telegram/updates.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1363,6 +1363,8 @@ func (c *Client) managePts(pts int32, ptsCount int32) bool {
13631363

13641364
if currentPts+ptsCount < pts {
13651365
c.Log.Debug("update gap detected - filling - pts (", currentPts, ") - ptsCount (", ptsCount, ") - pts (", pts, ")")
1366+
c.dispatcher.SetPts(pts)
1367+
return true // remaining parts have some issues it seems, I'll address later
13661368

13671369
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
13681370
defer cancel()

0 commit comments

Comments
 (0)