This commit is contained in:
shoopea 2019-05-04 18:43:22 +08:00
parent 4f6a109fe8
commit 4cc9b47824

2
td.go
View File

@ -137,7 +137,7 @@ func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) {
log.Printf("getHistory : no handler for %s\n", msg.Content.GetMessageContentEnum()) log.Printf("getHistory : no handler for %s\n", msg.Content.GetMessageContentEnum())
} }
if msgParsed%1000 == 0 { if msgParsed%1000 == 0 {
fmt.Printf("Waiting : %d messages retrieved from %s ...\n", msgCount, lastMsgTime.Format(time.RFC3339)) fmt.Printf("Waiting : %d messages retrieved from %s ...\n", msgCount, lastParsedTime.Format(time.RFC3339))
} }
} }