From baf7ef07224cf7842b4713e5448cc67d487d56af Mon Sep 17 00:00:00 2001 From: shoopea Date: Fri, 3 May 2019 19:10:42 +0800 Subject: [PATCH] typo --- td.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td.go b/td.go index 8b26342..900bf07 100644 --- a/td.go +++ b/td.go @@ -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: