fix overflow
This commit is contained in:
parent
ae70c7091a
commit
8a0ab2271a
2
td.go
2
td.go
@ -170,6 +170,8 @@ func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) {
|
||||
fmt.Printf("Overflow : %d messages retrieved out of %d dating back %s (%d) ...\n", msgCount, msgParsed, lastParsedTime.Format(time.RFC3339), lastParsedID64)
|
||||
time.Sleep(5 * time.Second)
|
||||
}
|
||||
} else {
|
||||
loopOverflow = 0
|
||||
}
|
||||
}
|
||||
log.Printf("Exported %d messages.\n", msgCount)
|
||||
|
Loading…
Reference in New Issue
Block a user