This commit is contained in:
shoopea 2019-05-03 19:10:42 +08:00
parent 29bce7bb7b
commit baf7ef0722

2
td.go
View File

@ -177,7 +177,7 @@ func getHistory(c *tdlib.Client) {
})
if msg.ID < lastMsgID64 {
lastMsgID64 = msg.ID
lastMsgTime = time.Unix(m.Date, 0)
lastMsgTime = time.Unix(msg.Date, 0)
}
msgCount = msgCount + 1
default: