From a36814891545732e96610b683bea308c7feba13a Mon Sep 17 00:00:00 2001 From: shoopea Date: Sat, 4 May 2019 17:59:19 +0800 Subject: [PATCH] fix --- td.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td.go b/td.go index 0ff0488..77b13e6 100644 --- a/td.go +++ b/td.go @@ -72,7 +72,7 @@ func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) { var msgCount int32 = 0 var lastMsgTime time.Time = time.Now() - if chatID64 == 0 { + if &chatID64 == 0 { chat := user_chtwrsbot } else { chat = chatID64