fix
This commit is contained in:
parent
baf7ef0722
commit
21e24e9048
2
td.go
2
td.go
@ -177,7 +177,7 @@ func getHistory(c *tdlib.Client) {
|
|||||||
})
|
})
|
||||||
if msg.ID < lastMsgID64 {
|
if msg.ID < lastMsgID64 {
|
||||||
lastMsgID64 = msg.ID
|
lastMsgID64 = msg.ID
|
||||||
lastMsgTime = time.Unix(msg.Date, 0)
|
lastMsgTime = time.Unix(int64(msg.Date), 0)
|
||||||
}
|
}
|
||||||
msgCount = msgCount + 1
|
msgCount = msgCount + 1
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user